08.09.2010, 02:07
I would change it so the function returns before the "explode" part of the script if the name is yours.
I am not sure that you can use a function in strcmp, so perhaps try removing it, see if it works.
also, you need to use SetTimerEx instead of SetTimer.
I am not sure that you can use a function in strcmp, so perhaps try removing it, see if it works.
also, you need to use SetTimerEx instead of SetTimer.
Код:
new drivername[MAX_PLAYER_NAME];
GetPlayerName(playerid,drivername,sizeof(drivername));
if(!strcmp(drivername, "Anna_Cortez", true)) return 1;
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");
SetTimerEx("dday", 6000, false,"d",playerid);

