>> Can you help me? << - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: >> Can you help me? << (
/showthread.php?tid=84234)
>> Can you help me? << -
monster010 - 29.06.2009
Can you help me how to do this command "/ unjail" as those of the PD / FBI and NG to be able to remove those from jail
Tanks
Re: >> Can you help me? << -
Doppeyy - 05.07.2009
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp("/Unjail", cmdtext, true))
{
if(IsPlayerAdmin(playerid)) // so only admins can unjuil people
{
SetPlayerPos(playerid,*Set Your Cords Here Where The Player Spawns After You Unjail Him);
SetPlayerInterior(playerid, 0);
SendClientMessage(playerid, COLOR WHITE ,(or any other colour you want!) "You have been unjailed");
}
return 1;
}
with this you will get a long way i think