[Ajuda]Comando bugado
#3

blz agora o comando /liberarcarro nao pega mais tb

if(strcmp(cmd, "/liberarcarro", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USO: /liberarcarro [carid]");
return 1;
}
if(IsAGang(playerid))
{
SendClientMessage(playerid, COLOR_RED, "[Erro] Vocк nгo estб autorizado a usar este comando.");
return 1;
}
else
{
new carid = strval(tmp);
for(new i = 0; i < MAX_PLAYERS; i++)
{
SetVehicleParamsForPlayer(carid, i, 0, 0);
}
VehicleInfo[carid][vPRFLock] = 0;
SendClientMessage(playerid, COLOR_WHITE, "[Info] Veнculo liberado.");
}
}
return 1;
}
Reply


Messages In This Thread
[Ajuda]Comando bugado - by willian Franco - 29.06.2011, 17:36
Re: [Ajuda]Comando bugado - by Shadoww5 - 29.06.2011, 17:49
Re: [Ajuda]Comando bugado - by willian Franco - 29.06.2011, 18:04
Re: [Ajuda]Comando bugado - by Shadoww5 - 29.06.2011, 19:13

Forum Jump:


Users browsing this thread: 1 Guest(s)