Quote:
Originally Posted by SlashQ
Hey,
Try this maybe?
pawn Код:
if(strcmp(cmdtext, "/r", true) == 0) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "Je bent niet in een voertuig."); RepairVehicle(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, -10000); SendClientMessage(playerid, COLOR_MGREEN, "[INFO]{FFFFFF} Voertuig gerepareert."); return 1; }
Also, where are you opening the dialog? What command? You'll need to show that command as well.
|
that is a command where the dialog opens, weard