23.09.2014, 10:39
Hey, I am making a TDM server, and well, you can only choose the team Grove, if you pick Ballas, then you spawn at Grove with Grove skin and weapons. And if you hit Grove, you spawn at Grove still.
So I am unable to pick Ballas.
So I am unable to pick Ballas.
Код:
public OnPlayerSpawn(playerid) { if(gTeam[playerid] == BALLAS) { SetPlayerSkin(playerid, 104); SetPlayerPos(playerid, 2419.1653,-1232.5118,24.4743); } if(gTeam[playerid] = GROVES) { SetPlayerSkin(playerid, 107); SetPlayerPos(playerid, 2500.6060,-1672.1453,13.3512); } SendClientMessage(playerid, -1, "You can use /wpack to purches weapons, it costs $10,000"); GivePlayerWeapon(playerid, 30, 600); return 1; } }