Please Help - 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)
+--- Thread: Please Help (
/showthread.php?tid=553175)
Please Help -
sas10 - 28.12.2014
HEllo Guys
/
i Want Make on player Reqest Class
Cant Spawn This gTeam SWAT
when i Write number 1 in Data Player its Spawn N.p
i done Make All somthings about this gteam with y_ini
but i want know i telling u that
Re: Please Help -
astanalol - 28.12.2014
Wrong
Re: Please Help -
astanalol - 28.12.2014
wrong post
Re: Please Help -
sas10 - 28.12.2014
Guys!
Re: Please Help -
UltraScripter - 28.12.2014
I didn't really understand what you want!
Re: Please Help -
SickAttack - 28.12.2014
Here's an example:
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(gTeam[playerid] == TEAM_SWAT && pInfo[playerid][pSwat] == 0) return 0;
return 1;
}
Re: Please Help -
sas10 - 28.12.2014
Quote:
Originally Posted by UltraScripter
I didn't really understand what you want!
|
How to Make this gteam cant any one spawn
Only For Swat Member
Example
in my Data y_ini
i Want Make gteam when he is spawn only can spawn if
SWAT = 1
not any one can spawn
Re: Please Help -
SickAttack - 28.12.2014
Quote:
Originally Posted by sas10
How to Make this gteam cant any one spawn
Only For Swat Member
Example
in my Data y_ini
i Want Make gteam when he is spawn only can spawn if SWAT = 1
not any one can spawn 
|
I've already gave you an example above, if you fail to follow that then you'd need some more time before actually attempting to create something.
Re: Please Help -
sas10 - 28.12.2014
Quote:
Originally Posted by SickAttack
I've already gave you an example above, if you fail to follow that then you'd need some more time before actually attempting to create something.
|
sorry its wrong

thx its working +rep