[Help] /hire cmd
#1

Im trying to make /hire command. i want to be something like if i am the owner of a faction and when i type /hire in the game chat with out the name of a player or id a return to appear with text "You need the player name or id" something like that. So my question is can someone give me an example of that return or any useful tutorial
Reply
#2

Код:
if (sscanf(params, "ui", giveplayerid, amount))
{
* * return SendClientMessage(playerid, 0xFF0000AA, "Usage: /givecash <playerid/name> <amount>");
}
Taken from ******' sscanf. You can edit it to whatever you want, but youl'll nedd to download sscanf.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)