[Ajuda] Proibir veiculos
#4

PHP код:
  if(strcmp(cmdtext"/Tele"true) == 0) {
    if(
IsPlayerInAnyVehicle(playerid)) {// *
    
SendClientMessage(playerid, -1"Vocк nгo pode se teletransportar em um veнculo");
    }
    else
    {
    
SetPlayerPos(playerid0.00.03.0); // Coloque aqui a posiзгo onde queira ir.
    
SendClientMessage(playerid, -1"Vocк foi teletransportado!");
    }
    return 
1
Acha que isso ajuda ?
Reply


Messages In This Thread
Proibir veiculos - by maxblaya01 - 06.09.2015, 03:12
Re: Proibir veiculos - by Eddye - 06.09.2015, 03:27
Re: Proibir veiculos - by maxblaya01 - 06.09.2015, 03:29
Re: Proibir veiculos - by Eddye - 06.09.2015, 03:47
Re: Proibir veiculos - by maxblaya01 - 06.09.2015, 04:02
Re: Proibir veiculos - by IgorLuiz - 06.09.2015, 04:15
Re: Proibir veiculos - by Thider - 06.09.2015, 14:42
Re: Proibir veiculos - by maxblaya01 - 07.09.2015, 18:53
Re: Proibir veiculos - by humildadeforever - 07.09.2015, 19:26

Forum Jump:


Users browsing this thread: 1 Guest(s)