[Ajuda] sistema de hospital
#9

Quando o player sair do hospital e estiver com level de procurado maior ou igual a 1, ele й preso.

Espero ter ajudado.
PHP Code:
if(GetPlayerWantedLevel(playerid) => 1)
{
    
SetPlayerInterior(playerid6);
    
rand random(sizeof(gPresoPmSpawns));
    
SetPlayerPos(playeridgPresoPmSpawns[rand][0], gPresoPmSpawns[rand][1], gPresoPmSpawns[rand][2]); 
    
SetPlayerFacingAngle(playeridgPresoPmSpawns[rand][3]);
    
SendClientMessage(playeridCOLOR_LIGHTBLUE"Sentenзa incompleta,Vocк voltou para Prisгo");
    
PlayerInfo[playerid][pJailed] = 1;
    return 
1;

Reply


Messages In This Thread
sistema de hospital - by igor97m - 28.12.2014, 17:51
Re: sistema de hospital - by Boot - 28.12.2014, 18:24
Re: sistema de hospital - by igor97m - 28.12.2014, 18:58
Re: sistema de hospital - by igor97m - 28.12.2014, 21:24
Re: sistema de hospital - by Boot - 28.12.2014, 21:32
Re: sistema de hospital - by igor97m - 28.12.2014, 21:37
Re: sistema de hospital - by Skun Fly - 28.12.2014, 22:21
Re: sistema de hospital - by igor97m - 28.12.2014, 22:25
Re: sistema de hospital - by [BOPE]Seu._.Madruga - 28.12.2014, 22:42
Re: sistema de hospital - by igor97m - 28.12.2014, 23:29

Forum Jump:


Users browsing this thread: 1 Guest(s)