V.I.P's spawns with armour [HELP] [+REP] - 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: V.I.P's spawns with armour [HELP] [+REP] (
/showthread.php?tid=410874)
V.I.P's spawns with armour [HELP] [+REP] -
California_ - 27.01.2013
hEYY This is my thingy that asks the script if the player is VIP
pawn Код:
if(PlayerInfo[playerid][pVIP] >= 1)
{
How do I make it so Only V.I.P'S can spawn with armour Were getting donators and I really need this done
.
Please Help I'll Reputate the first 5 answers
Re: V.I.P's spawns with armour [HELP] [+REP] -
Jewell - 27.01.2013
pawn Код:
public OnPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pVIP] >= 1)
{
SetPlayerArmour(playerid, 100.0);
SendClientMessage(playerid, 0xFFFFFFAA, "<V.I.P>: You hvae spawned with armour");
}
return 1;
}
Re: V.I.P's spawns with armour [HELP] [+REP] -
Roach_ - 27.01.2013
Or..:
pawn Код:
public OnPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pVIP] > 0) SetPlayerArmour(playerid, 100.0);
return 1;
}