18.06.2011, 19:44
Criei um Spawn para o Player Que estiver o Level 1 de CV no caso a Loop levelcv, mais nгo ta Spawn Porque?
OBS: SУ ESTБ SPAWNANDO NO LUGAR QUE ESTБ O AddPlayerClass '-'
OBS: SУ ESTБ SPAWNANDO NO LUGAR QUE ESTБ O AddPlayerClass '-'
Код:
public OnPlayerSpawn(playerid) { PlayerPlaySound(playerid,1098, 0.0, 0.0, 0.0); TextDrawHideForPlayer(playerid, topblack); TextDrawHideForPlayer(playerid, bottomblack); if(levelcv[playerid] == 1) { GameTextForPlayer(playerid,"~r~COMPLEXO DO ALMEAO", 1000,1); SetPlayerColor(playerid, 0xFF0000FF); SetPlayerPos(playerid, 2497.8223,-1672.7454,13.3417); SetPlayerInterior(playerid, 0); SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 4, 1); // dar arma/Bala GivePlayerWeapon(playerid, 26, 999); // dar arma/Bala GivePlayerWeapon(playerid, 24, 999); // dar arma/Bala GivePlayerWeapon(playerid, 29, 999); // dar arma/Bala GivePlayerWeapon(playerid, 1, 1); // dar arma/Bala SendClientMessage(playerid, COLOR_WHITE, "Use /comandoscv, para ver os comandos de sua Facзгo !"); SendClientMessage(playerid, COLOR_RED, "Quem comanda й o comando, e o comando e VERMELHO !"); } return 1; }