Hello i have a Gamemode with many teams ... ( TDM )
And i have a team Justice with 3 skin ( cops , swat , army )
I want army skin have a different spawn position not like cops and swat? ( cops , swat , army are the same teams )
there is some of?my code :
I have used?if(GetPlayerSkin(playerid) == 287) army skin and that does'nt work??
Help please :D and i know my english sorry ...
And i have a team Justice with 3 skin ( cops , swat , army )
I want army skin have a different spawn position not like cops and swat? ( cops , swat , army are the same teams )
there is some of?my code :
Quote:new const Float:g_SpawnJustice[][4] = {
{-2190.1560, 613.9122,35.1641,116.1742},//
{-2185.8408, 704.4630,53.8906,248.9940},
{-2206.7517, 665.4793,49.4375,175.6908}
};
case 2: { //>>>>>>>>>> THIS case is on OnPlayerSpawn...
? ?
? /
?
? ? ? ? ? ? iRandom = random(sizeof(g_SpawnJustice));
SetPlayerPos(playerid, g_SpawnJustice[iRandom][0], g_SpawnJustice[iRandom][1], g_SpawnJustice[iRandom][2]);
SetPlayerFacingAngle(playerid, g_SpawnJustice[iRandom][3]);
}
I have used?if(GetPlayerSkin(playerid) == 287) army skin and that does'nt work??
Help please :D and i know my english sorry ...