RequestSpawn: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

13 October 2023

25 May 2023

24 May 2023

  • curprev 16:3816:38, 24 May 2023Habi talk contribs 492 bytes +492 Created page with "{{Welcome| desc=This will send a request to server for spawning in the currently selected class.| params=<syntaxhighlight lang="lua">NoParams</syntaxhighlight> example=<source lang="lua"> function OnNPCClassSelect() { if(GetPlayerTeam(GetMyID())==2) RequestSpawn(); return 1 } </source>| note= Inside the function, use Team, color, position to check if the class matches as it is not possible to obtain the class id directly.| relfuncs=*RequestClass *OnNP..."