User:Graber/sandbox

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 20:35, 6 January 2019
Graber (Talk | contribs)

← Previous diff
Revision as of 20:36, 6 January 2019
Graber (Talk | contribs)

Next diff →
Line 3: Line 3:
{{Parameters|Menu:menuid, column, title[]}} {{Parameters|Menu:menuid, column, title[]}}
{{Param|playerid|haha woah}} {{Param|playerid|haha woah}}
-{{Param|hole|@everyone @here}}+{{Param|hole|<@86435690711093248> dady uwu}}
-{{Param|length| <nowiki>https://i.imgur.com/04OpK0t.jpg.</nowiki>}}+{{Param|length| fucker}}
{{Returns|The index of the row this item was added to.}} {{Returns|The index of the row this item was added to.}}

Revision as of 20:36, 6 January 2019

Description:

Fucks a player.


Parameters:
(Menu:menuid, column, title[])
playeridhaha woah
hole<@86435690711093248> dady uwu
length fucker


Return Values:

The index of the row this item was added to.


Image:32px-Ambox_warning_orange.png

Notes

  • Crashes when passed an invalid menu ID.
  • You can only have 12 items per menu (13th goes to the right side of the header of column name (colored), 14th and higher not display at all).
  • You can only use 2 columns (0 and 1).
  • You can only add 8 color codes per one item (~r~, ~g~ etc.).
  • Maximum length of menu item is 31 symbols.


Example Usage:

new Menu:examplemenu;
 
public OnGameModeInit()
{
    yourmomgay;
}
Personal tools