08.09.2010, 09:47
(
Последний раз редактировалось Tommy_Connin; 09.09.2010 в 07:40.
)
Okay... Newbie here, I know just a little but and I know a simple /kill is Easy. However, What I want is to Detect wether or not that Player has Wanted Levels and/or if that player is in Jail but I can't figure out those two parts =_=
So far I only have this in LAdmin which i Modified a little.
Yes, It's messed up and doesn't work. But I'm hoping by time the Jail one is found/Fixed i can get it to work.
Thanks if you can help me on this.
P.S IsPlayerJailed doesn't work. and Yes, I've searched the Forums and Even searched the Filterscripts.
So far I only have this in LAdmin which i Modified a little.
pawn Код:
dcmd_kill(playerid,params[]) {
#pragma unused params
if(GetPlayerWantedLevel > 1)
return SendClientMessage(playerid, COLOR_ERROR, "ERROR: You cannot do that while Wanted!");
new string[100];
GetPlayerName(playerid, string, 24);
format(string, 100, "%s(%d) Has commited suicide using /kill", string,playerid);
SendClientMessageToAll(0xEE82EEAA, string);
return SetPlayerHealth(playerid,0.0);
}
Thanks if you can help me on this.
P.S IsPlayerJailed doesn't work. and Yes, I've searched the Forums and Even searched the Filterscripts.