>> Can you help me? <<
#2

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
Reply


Messages In This Thread
>> Can you help me? << - by monster010 - 29.06.2009, 18:45
Re: >> Can you help me? << - by Doppeyy - 05.07.2009, 14:34

Forum Jump:


Users browsing this thread: 3 Guest(s)