28.03.2009, 01:27
[quote=SakuraBloss ]
Hi again.
Not work.
When i do /paint i see the car with a strange paintjob.
This is my code:
Is an example for my.
Hi again.
Not work.
When i do /paint i see the car with a strange paintjob.
This is my code:
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/paint", true)==0) {new vehicleid = GetPlayerVehicleID(playerid); new cartype = GetVehicleModel(vehicleid); if(cartype == 560){ // Sultan ChangeVehiclePaintjob(vehicleid, 1 - 3 ); SendClientMessage(playerid,COLOR_BLUE,"[INFO] Sultan tuneado!"); PlayerPlaySound(playerid,1133,0.0,0.0,0.0);} return 1;} return 0; }