18.11.2010, 16:14
Um Why not just make it Sscanf command
and at top of gamemode put
include <sscanf>
and in onplayercommandtext
Put this at the top or bottom before return 1;
dcmd(makeadmin, 9 ,cmdtext);
and replace if(!strcmp(cmdtext, "/makeadmin", true))
with this but make sure that this command is in its own column
dcmd_makeadmin(playerid, params[]) {
and at top of gamemode put
include <sscanf>
and in onplayercommandtext
Put this at the top or bottom before return 1;
dcmd(makeadmin, 9 ,cmdtext);
and replace if(!strcmp(cmdtext, "/makeadmin", true))
with this but make sure that this command is in its own column
dcmd_makeadmin(playerid, params[]) {