| PRISГO |
#12

Vocк pode fazer assim:

pawn Code:
//no topo

new bool:EstaPreso[MAX_PLAYERS] = false;

//No comando de prender ou no local onde faz com que o player fique preso:
EstaPreso[playerid] = true;

//No OnPlayerDeath e onde vocк quer que verifique que ele estб preso:

if(EstaPreso[playerid])
{
    SetPlayerPos(playerid,.......);
    SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenзa incompleta,Vocк voltou para Prisгo");
    return 1;
}
Adapte ao seu jeito
Reply


Messages In This Thread
| PRISГO | - by juniorjg - 15.02.2010, 05:20
Re: | PRISГO | - by andmeida10 - 15.02.2010, 07:14
Re: | PRISГO | - by OxygenBR - 15.02.2010, 10:13
Re: | PRISГO | - by andmeida10 - 15.02.2010, 11:05
Re: | PRISГO | - by [H]unter - 15.02.2010, 12:19
Re: | PRISГO | - by OxygenBR - 15.02.2010, 12:27
Re: | PRISГO | - by juniorjg - 15.02.2010, 16:15
Re: | PRISГO | - by andmeida10 - 15.02.2010, 19:10
Re: | PRISГO | - by OxygenBR - 16.02.2010, 10:52
Re: | PRISГO | - by andmeida10 - 16.02.2010, 11:24
Re: | PRISГO | - by OxygenBR - 16.02.2010, 13:53
Re: | PRISГO | - by speliarmos - 16.02.2010, 14:08

Forum Jump:


Users browsing this thread: 5 Guest(s)