- 0
Number Plate , Pe id problem
-
Similar Content
-
- 2 replies
- 581 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Mr.Big
Salut , am intrun gamemode acest lucru, si cand intru in joc la orice masina apare "S 000[id masinii] RP , si as dori sa o compilez si in gamemodul meu , dar nu reusesc deloc... As dori sa pun la toate masinile ceva in genul acesta , sau la personale ....
for(new i = 0; i < 364; i++) { AddCar(i); } for(new i=0; i < p; i++) { SetPVarInt(i, "laser", 0); SetPVarInt(i, "color", 18643); } CarInit(); new NumberSTR[28]; for(new car=0; car<MAX_VEHICLES; car++) { format(NumberSTR, sizeof(NumberSTR), "{00983B}S {B60000}%d RP", 100 + random(9999)); SetVehicleNumberPlate(car, NumberSTR); SetVehicleToRespawn(car); } matsi = dini_Int("dandm.ini","materials"); pritondru = dini_Int("dandm.ini","pritondrugs"); ambardru = dini_Int("dandm.ini","ambardrugs"); TuneCar(); /*for(new i = 0; i < CAR_PROD; i++) { if(AlarmStatus[i]) { TimerAlarmKill = SetTimerEx("TimerAlarm",30000,1,"i",playerid); } else if(!AlarmStatus[i]) { return 1; } }*/ return 1; } /*public TimerAlarm(playerid) { new veh = GetPlayerVehicleID(playerid); if(AlarmStatus[veh]) { GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(veh,engine,lights,VEHICLE_PARAMS_ON,doors,bonnet,boot,objective); TimerAlarmKill = SetTimerEx("TimerAlarm",30000,1,"i",playerid); } else if(!AlarmStatus[veh]) { GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(veh,engine,lights,VEHICLE_PARAMS_OFF,doors,bonnet,boot,objective); KillTimer(TimerAlarmKill); } }*/ public OnVehicleSpawn(vehicleid) { return 1; }Sau de exemplu , daca am asa ceva :public OnVehicleSpawn( vehicleid ){ SetVehicleNumberPlate( vehicleid, "{0000BB}R{FFFF00}S{E60000}G" ); //Ca sa fie Plate-ul colorat folosesti culorile HEX! return 1;}Cum pun sa fie la fel ca ala , S ID RP ?
6 answers to this question
Recommended Posts