14.08.2011, 10:11
Here is my code
I want it so when your not in that vehicle is says you are not in the correct vehicle.
It compiles fine.
When you get into that vehicle and type /startdelivery it works and says that.
When you are not in the vehicle it says nothing :/
Is there a way to fix this?
Thanks
Quote:
if(strcmp(cmd, "/startdelivery", true) == 0) { if(IsPlayerConnected(playerid)) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 493) { SendClientMessage(playerid, COLOR_GREEN, "Your Job Has Started. Go To The Red Marker To Pick Up The Products."); } else { SendClientMessage(playerid, COLOR_GREEN, "You are not in the correct vehicle"); } } return 1; } |
It compiles fine.
When you get into that vehicle and type /startdelivery it works and says that.
When you are not in the vehicle it says nothing :/
Is there a way to fix this?
Thanks