24.09.2010, 10:44
Im a bit stumped and i cant seem to find any posts to help me with what im looking for.
I was looking at the test_cmds.pwn file we get in the filterscripts folder as part of the server package and i was wondering about adding this particular code to my gamemode..
Now, what im wondering is, when you type the above command, and say something after it for example.
"/updateplayerlabel testing" will it display "testing" or will it be blank?
If its going to be blank, what can i do to get it to actually show what the player types in after the command?
Any help would be appreciated greatly.
I was looking at the test_cmds.pwn file we get in the filterscripts folder as part of the server package and i was wondering about adding this particular code to my gamemode..
Код:
if(strcmp(cmd, "/updateplayerlabel", true) == 0) { UpdatePlayer3DTextLabelText(playerid, playertextid, 0xFFFFFFFF, ""); return 1; }
"/updateplayerlabel testing" will it display "testing" or will it be blank?
If its going to be blank, what can i do to get it to actually show what the player types in after the command?
Any help would be appreciated greatly.