Jump to content

w3bz

Membru
  • Posts

    1
  • Joined

  • Last visited

Everything posted by w3bz

  1. w3bz

    o problema

    Salut am si eu o problema cu masinile personale if(CarInfo[vehicleid][cOwned] == 1 && !ispassenger) { new sendername[MAX_PLAYER_NAME]; GetPlayerName(playerid, sendername, sizeof(sendername)); if(AdminDuty[playerid] == 1 && PlayerInfo[playerid][pAdmin] >= 1338) { new string[128]; format(string,sizeof(string),"{66CCFF}Vehicul privat al jucatorului{FF9933} %s !", CarInfo[vehicleid][cOwner]); SendClientMessage(playerid, COLOR_GREY, string); } else if(vehicleid != PlayerInfo[playerid][pCar] && vehicleid != PlayerInfo[playerid][pCar2] && vehicleid != PlayerInfo[playerid][pCar3]) { new string[128]; new Float:cx, Float:cy, Float:cz; GetPlayerPos(playerid, cx, cy, cz); SetPlayerPos(playerid, cx, cy, cz); format(string,sizeof(string),"{66CCFF}Vehicul privat al jucatorului{FF9933} %s !", CarInfo[vehicleid][cOwner]); SendClientMessage(playerid, COLOR_GREY, string); RemovePlayerFromVehicle(playerid); } } if(IsAnPersonalCar(vehicleid)) { ChangeVehicleColor(vehicleid,CarInfo[vehicleid][cColorOne],CarInfo[vehicleid][cColorTwo]); } return 1; } Am scris pentru sistemul de masini sa nu ii lase sa ia masina .. nu mi da nicio erroare la copilere intru in joc si nu mi zice ca e masina privata . imi zice ti daca vreti sa mai las ceva. Mi se salveaza masina in masini.cfg scrie ca eu sunt owner dar tot nu mi zice masina privata..
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.