SA-MP Forums Archive
Newbie question... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Newbie question... (/showthread.php?tid=168820)



Newbie question... - Lorenc_ - 17.08.2010

Lols ^^ ok the question is where can i find all of the team functions created by default sa-mp. I've been searching the wiki for some but i want the full list :/


Re: Newbie question... - Mike Garber - 17.08.2010

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
Lols ^^ ok the question is where can i find all of the team functions created by default sa-mp. I've been searching the wiki for some but i want the full list :/
What team functions do you mean? Give me an example.


Re: Newbie question... - Lorenc_ - 10.10.2010

SetPlayerTeam, GetPlayerTeam, etc....


Re: Newbie question... - Matej_ - 10.10.2010

Search on the right side in pawno.


Re: Newbie question... - Lorenc_ - 10.10.2010

Quote:
Originally Posted by Matej_
Посмотреть сообщение
Search on the right side in pawno.
Doesn't Show and i Enabled it..


Re: Newbie question... - Pawno_Master - 10.10.2010

https://sampwiki.blast.hk/wiki/SetPlayerTeam

Here you can find related functions aswell.
You can also create your own function!

new PlayerTeam[MAX_PLAYERS];

if(strcmp("/grove", cmdtext, true) == 0)
{
PlayerTeam[playerid] = 1;
SendClientMessage(playerid, 0xFF0000AA, "You are now a member of Grove Street!
}

EDIT: Here a list with all functions

https://sampwiki.blast.hk/wiki/Category:Scripting_Functions


Re: Newbie question... - Matej_ - 10.10.2010

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
Doesn't Show and i Enabled it..
If you have windows Vista or windows 7 run pawno as administrator and then all functions will show on the right side of the pawno.


Re: Newbie question... - Lorenc_ - 10.10.2010

Righto thanks Matej_