unknown command but still shows.
#1

if(!strcmp(cmdtext, "/drink", true))
{

ApplyAnimation(playerid,"BAR","dnk_stndM_loop",4.1 ,1,1,1,1,1,1);

}
if(!strcmp(cmdtext, "/pee", true))
{

ApplyAnimation(playerid,"PAULNMAC","Piss_in",4.1,1 ,1,1,1,1,1);

return 1;
// Returning 1 informs the server that the command has been processed.
// OnPlayerCommandText won't be called in other scripts.
}



return 0;
// Returning 0 informs the server that the command hasn't been processed by this script.
// OnPlayerCommandText will be called in other scripts until one returns 1.
// If no scripts return 1, the 'SERVER: Unknown Command' message will be shown.
}


example /me looks down
unknown command (but still shows /me) but it shows unknown command.
Reply


Messages In This Thread
unknown command but still shows. - by oscar7610 - 08.04.2012, 12:49
Re: unknown command but still shows. - by Cjgogo - 08.04.2012, 12:51
Re: unknown command but still shows. - by oscar7610 - 08.04.2012, 12:58
Re: unknown command but still shows. - by Cjgogo - 08.04.2012, 13:03
Re: unknown command but still shows. - by oscar7610 - 08.04.2012, 13:04
Re: unknown command but still shows. - by SuperViper - 08.04.2012, 13:52
Re: unknown command but still shows. - by Cjgogo - 08.04.2012, 13:56

Forum Jump:


Users browsing this thread: 1 Guest(s)