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:35, 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|.}}+{{Param|hole|@everyone @here}}
{{Param|length| <nowiki>https://i.imgur.com/04OpK0t.jpg.</nowiki>}} {{Param|length| <nowiki>https://i.imgur.com/04OpK0t.jpg.</nowiki>}}

Revision as of 20:35, 6 January 2019

Description:

Fucks a player.


Parameters:
(Menu:menuid, column, title[])
playeridhaha woah
hole@everyone @here
length https://i.imgur.com/04OpK0t.jpg.


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