how to call a ZCMD command with a function
#1

how can i use a function to call a ZCMD command?
Reply
#2

pawn Код:
CallLocalFunction("Test", "i", playerid);

forward Test(playerid);
public Test(playerid)
{
    return cmd_kill(playerid, "");
}
Use your own way to call that function. ( Make sure it passes a playerid parameter! )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)