Spawning Help!
#1

=0 Its my first time asking for scripting help, but anyway.
I decided not to ask in Ladmin post because, I added something to it.
This Happened on my other script I made too, Code:
Код:
if(PlayerInfo[playerid][Frozen] == 1) {
		TogglePlayerControllable(playerid,false); return SendClientMessage(playerid,red,"You cant escape your punishment. You Are Still Frozen");
	}
  if(PlayerInfo[playerid][gteam] == 1) {
		SetPlayerSkin( playerid, 280 );
	}
	if(PlayerInfo[playerid][Jailed] == 1) {
	  SetTimerEx("JailPlayer",3000,0,"d",playerid); return SendClientMessage(playerid,red,"You cant escape your punishment. You Are Still In Jail");
	}
The Thing I added was gteam, but the

Код:
if(PlayerInfo[playerid][Jailed] == 1)
and the
Код:
if(PlayerInfo[playerid][Frozen] == 1)
Work when I spawn but when I do the gteam i doesnt work
im trying to make a officer spawn with the skin 280 under OnPlayerSpawn!
It Compiles Perfectly Too
Can Someone help to tell me what I did wrong to make my officer spawn not work?
Reply
#2

pawn Код:
if(gteam[playerid] == 1) {
SetPlayerSkin(playerid,280);
return 1;
}
//OnPlayerSpawn >.>
EDIT: Click here for wiki on how to make a team deathmatch
Reply
#3

Good luck
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)