09.01.2017, 10:39
PHP код:
CMD:colisao(playerid)
{
APlayerData[playerid][Colisao] = (APlayerData[playerid][Colisao] == true ? (false) : (true));
GameTextForPlayer(playerid, APlayerData[playerid][Colisao] == true ? ("~w~Colisao ~g~desabilitada~w~!") : ("~w~Colisao ~r~habilitada~w~!"), 5000, 4);
DisableRemoteVehicleCollisions(playerid, APlayerData[playerid][Colisao]);
return 1;
}