22.05.2014, 20:44
(
Последний раз редактировалось erikhenri; 25.05.2014 в 19:58.
)
Hello ! I cant make my engine system work properly.
This is what I have under OnPlayerStateChange
I have this with mysql, and whenever I enter to any car, even if Autos[vID][aOwner] is different from player name, it let's me run the engine.
I hope you can understand me
This is what I have under OnPlayerStateChange
Код:
for(new vID = 1; vID < MAX_Cars; vID++) { if(!strcmp(TakeRoleplayName(playerid), Autos[vID][aOwner], true)) { runnable[playerid]= 1; SendClientMessage(playerid, -1, ""#HALL"You have entered to your car."); return 1; } }
I hope you can understand me