26.06.2009, 14:46
Well i found this job include and i decided to put it in my gamemode. No errors or warnings but how do i make it so that if they are job 1 and they are logged in they automatically spawn as TEAM_COP?
Here's what i got so far ( OnPlayerSpawn ) :
That just changes them to the skin, I don't want that, i want it to MAKE them go into the gTeam TEAM_POLICE
How do i do this? ( if there are any problems with the script i'm showing you now, please change in a reply)
Here's what i got so far ( OnPlayerSpawn ) :
pawn Код:
if(GetPlayerJobID(playerid) == 1)
{
SetPlayerSkin(playerid,skincop);
}
How do i do this? ( if there are any problems with the script i'm showing you now, please change in a reply)