Quote:
Originally Posted by Vince
Worth mentioning that this can also be used inline, e.g.:
pawn Code:
ShowPlayerDialog(showplayerid, DIALOG_NO_RETURN, rows ? DIALOG_STYLE_LIST : DIALOG_STYLE_MSGBOX, temp, dialogstring, "Okay", "");
Or even:
pawn Code:
return SendClientMessage(playerid, COLOR_RED, (PlayerStats[playerid][pDrugSeeds]) ? ("You aren't growing any drug plants. Use /plant to grow one.") : ("You aren't growing any drug plants. Get some seeds first!") );
|
thnx man i will add it as soon as i can