[ajuda] /trancar bugado
#6

tenta esse

if (strcmp(cmdtext, "/trancar", true) == 0)
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,COLOR_RED,"Apenas o motorista pode trancar o carro!");
new vehicleid = GetPlayerVehicleID(playerid);
for( new i=0;i<=MAX_PLAYERS;i++) {
if(i != playerid) {
SetVehicleParamsForPlayer(vehicleid,i, 0, 1);
GameTextForPlayer(playerid,"~w~ Veiculo ~r~Trancado!",1000,1);
SendClientMessage(playerid, COLOR_WHITE, "Carro trancado!");
}
}
return 1;
}
Reply


Messages In This Thread
[ajuda] /trancar bugado - by bombomloko - 22.04.2012, 19:15
Re: [ajuda] /trancar bugado - by RoacH` - 22.04.2012, 19:28
Re: [ajuda] /trancar bugado - by bombomloko - 22.04.2012, 19:38
Re: [ajuda] /trancar bugado - by RoacH` - 22.04.2012, 19:40
Re: [ajuda] /trancar bugado - by bombomloko - 22.04.2012, 19:41
Re: [ajuda] /trancar bugado - by Diogo123 - 22.04.2012, 20:03
Re: [ajuda] /trancar bugado - by RoacH` - 22.04.2012, 20:04
Re: [ajuda] /trancar bugado - by bombomloko - 22.04.2012, 20:32
Re: [ajuda] /trancar bugado - by RoacH` - 22.04.2012, 20:42
Re: [ajuda] /trancar bugado - by bombomloko - 22.04.2012, 20:54

Forum Jump:


Users browsing this thread: 2 Guest(s)