[Pedido] Bloquear Comandos
#6

consegui o krl

agora bloquiei os comandos ate quando n ta na corrida

DO GM
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(CallRemoteFunction("GetPlayerInRace","i",playerid) != 0){
return 1;}
DO FS
Код:
forward GetPlayerInRace(playerid);
public GetPlayerInRace(playerid)
{
if(NaCorrida[playerid]==0)return SendClientMessage(playerid, 0xFF0000FF,"[x]: Vocк nгo pode usar comando estando em uma corrida, para sair use: /sairrace");
return 1;}
Reply


Messages In This Thread
Bloquear Comandos - by Noobster157 - 16.07.2013, 16:55
Re: Bloquear Comandos - by ProKillerpa - 16.07.2013, 17:01
Respuesta: Bloquear Comandos - by Noobster157 - 16.07.2013, 17:04
Re: Bloquear Comandos - by ProKillerpa - 16.07.2013, 17:06
Respuesta: Bloquear Comandos - by Noobster157 - 16.07.2013, 18:02
Respuesta: Bloquear Comandos - by Noobster157 - 16.07.2013, 18:49
Re: Bloquear Comandos - by ProKillerpa - 16.07.2013, 19:17
Re: Respuesta: Bloquear Comandos - by Bruno13 - 17.07.2013, 01:02

Forum Jump:


Users browsing this thread: 3 Guest(s)