29.11.2014, 17:24
Hello, i wan't that when i am not car owner, i get dropped out of the car and get message, now i trying to do tis. Code :
I put this code in this calback :
When i get into car when i am not this car owner,then nothing. Just not working. What is wrong here ?
Sry for bad english.
Код:
if(strcmp(MasinosI[vehicleid][Owner],GetPlayerNameEx(playerid))) return SendClientMessage(playerid, -1,draudimas), RemovePlayerFromVehicle(playerid),format(draudimas,sizeof(draudimas),"This Car owner is : %s" ,MasinosI[vehicleid][Owner]);
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
Sry for bad english.