24.07.2009, 13:15
Quote:
Originally Posted by Annihalation
I'll give you some tips, but no handouts
get dini.inc if you don't have it, get it here to get it, click that link, click the "downloads" button in the upper right and find "dini v1.6" (use your browser's find function if you cant find it in the page) then take this and paste it between the brackets in the "public OnVehicleSpawn" part in your file Код:
new file[256], Float:vehX, Float:vehY, Float:vehZ, Float:vehR, model; model = GetVehicleModel(vehicleid); format(file, sizeof(file), "Vehicles/%s.ini", vehicleid); if(dini_Exists(file)) return 1; // car exists in database GetVehiclePos(vehicleid, vehX, vehY, vehZ); GetVehicleZAngle(vehicleid, vehR); dini_IntSet(file, "model", model); dini_IntSet(file, "posX", vehX); dini_IntSet(file, "posY", vehY); dini_IntSet(file, "posZ", vehZ); dini_IntSet(file, "angle", vehR); you can make the "/createveh" command, that part is extremely easy, the first thing I learned about PAWN was to do "/" commands |