help plz! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help plz! (
/showthread.php?tid=541102)
help plz! -
Airblog - 09.10.2014
Hi All!
i want a script that
when somebody killed another one
who that dies can /call 911 then gives auto wanted to killer
Sry for bad english
Re: help plz! -
YanLanger - 09.10.2014
Hello airblog.
We are not giving free scripts/codes.
This is scripting
Help Section
Please read rules.
Thanks, and best of luck
Re: help plz! -
Rudy_ - 09.10.2014
On Top
under OnPlayerDeath
Under OnPlayerCommand
pawn Код:
//Under 911 command add this
if(Death[playerid] == 1)
{
//Means player is dead
}
else
{
SendClientMessage(playerid, -1, "You are not dead");
}
return 1;
}
Under OnPlayerSpawn
I just gave you an idea, It's not going to work properly as player have to type the command after he's dead and before he spawns else he can't type the command, For that you can create a time of 10 seconds..
Re: help plz! -
Airblog - 15.10.2014
Tnx Bro +1 Rep