problem with script
#1

ok i posted a request to fix this a long time ago no one ever helped so im going to request a fix again.
and to al the other muslims like me happy
Quote:

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", 10000, 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;
}

its explodes and kills id 0 not the person getting in car
Reply


Messages In This Thread
problem with script - by farris - 10.09.2010, 15:56
Re: problem with script - by MadeMan - 10.09.2010, 15:58
Re: problem with script - by Jeffry - 10.09.2010, 15:58
Re: problem with script - by farris - 10.09.2010, 16:01
Re: problem with script - by Mimic - 10.09.2010, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)