03.01.2011, 16:31
Tenta nгo sei se funciona na 0.3c
pawn Код:
if(strcmp(cmd, "/lock", true) == 0)
{
for(new i=0; i < MAX_PLAYERS; i++)
SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i,0,1);
return 1;
}
if(strcmp(cmd, "/unlock", true) == 0)
{
for(new i=0; i < MAX_PLAYERS; i++)
SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i,0,0);
return 1;
}