14.08.2011, 10:27
pawn Код:
if(strcmp(cmd, "/startdelivery", true) == 0)
{
if(IsPlayerConnected(playerid)) {
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 493) {
SendClientMessage(playerid, COLOR_GREEN, "Your delivery has started. Go to the red marker and pick the products.");
}
else {
SendClientMessage(playerid, COLOR_GREEN, "You are not in the correct vehicle");
}
}
return 1;
}