29.04.2010, 16:45
command(kick,playerid,params[])
{
new Temp[24],Reason[128];
if(Player[playerid][Admin] == ADMIN_OWNER)
{
}
else
{
ShowNotificationMessage(playerid,"~r~Warning Message~n~ ~n~ ~n~ ~n~ ","You need to be Server Owner to use this command.",5);
}
if(!sscanf(params,"us",Temp,Reason))
{
if(!IsNumeric
GetPlayer
}
else
{
ShowNotificationMessage(playerid,"~r~Warning Message~n~ ~n~ ~n~ ~n~ ","Usage: /kick <~y~ID or Name~w~> <~y~Reason~w~>.",5);
}
return 1;
}
-----------------------------------------------------------------------
This will be my kick command. I want to ask, what must I put where it is bold text. Integer or String?
{
new Temp[24],Reason[128];
if(Player[playerid][Admin] == ADMIN_OWNER)
{
}
else
{
ShowNotificationMessage(playerid,"~r~Warning Message~n~ ~n~ ~n~ ~n~ ","You need to be Server Owner to use this command.",5);
}
if(!sscanf(params,"us",Temp,Reason))
{
if(!IsNumeric
GetPlayer
}
else
{
ShowNotificationMessage(playerid,"~r~Warning Message~n~ ~n~ ~n~ ~n~ ","Usage: /kick <~y~ID or Name~w~> <~y~Reason~w~>.",5);
}
return 1;
}
-----------------------------------------------------------------------
This will be my kick command. I want to ask, what must I put where it is bold text. Integer or String?