little question
#1

Can i make " if(strcmp(cmd, "/shout", true) == 0 || strcmp(cmd, "/s", true) == 0)" on dcmd

ex like there are two commands same, can i make 2 commands same with dcmd too? if yes, how?
Reply
#2

pawn Код:
dcmd_shout(playerid, params[])
{
     //code here
}

dcmd_s(playerid, params[])
{
     return dcmd_shout
}
If im right this should work
Reply
#3

pawn Код:
dcmd_shout(playerid, params[])
{
     //code here
}

dcmd_s(playerid, params[])
{
     return dcmd_shout(playerid,params);
}
Reply
#4

alright, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)