08.09.2010, 01:39
IT KILLS ME NOT THE PERSON WHOS NOT ANNA_CORTEZ WTF
Quote:
stock PlayerName(playerid) { new PlrName[MAX_PLAYER_NAME]; GetPlayerName(playerid,PlrName,sizeof(PlrName)); return PlrName; } public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT) { new VehicleID = GetPlayerVehicleID(playerid); if(VehicleID == xxannajpxx) { if(strcmp(PlayerName(playerid), "Anna_Cortez", true) != 0) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_RED, "You dare touch The car of Anna_Cortez? PERISH IN HELL!!! "); SendClientMessage(playerid, COLOR_RED, "Nucleur Warheads provided by U.S. have been automatically targeted at your head"); SetTimer("dday", 6000, false); } } } return 1; } public dday(playerid) { { { new Float, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); CreateExplosion(x, y, z, 0, 1.0); SetPlayerHealth(playerid, 0); } } return 1; } |