10.07.2012, 17:52
Код:
if(classid == 9) { GameTextForPlayer(playerid, "~g~[FYB]DoubleMac~n~", 3000, 5); new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); if(strcmp(name, "[FYB]DoubleMac") == 0) SetPlayerHealth(playerid,100); SetPlayerPos(playerid, 2178.6499,-1660.5642,14.9577); SetPlayerCameraPos(playerid, 2182.1299,-1663.9437,14.8180); SetPlayerCameraLookAt(playerid, 2178.6499,-1660.5642,14.9577); { SetPlayerHealth(playerid,0); } } return 1; }
Me and my friend testing private skin selection. So when i try to choose my own skin i die.
All i want is: When another player try to take this ClassID he's die.
Only [FYB] Doublemac can take it.