/frisk problem
#6

well i suggest you to convert it to zcmd faster and easier..and use sscanf..easier too..
pawn Код:
CMD:frisk(playerid,params[])
{
if(teamid != 3) return SendClientMessage(playerid,-1,"ERROR:Only Officers can use this command!");
else
{
new id;
if(sscanf(params,"u"id)) return SendClientMessage(playerid,-1,"ERROR:/frisk [playerid]");
if(!IsPlayerConnected(id)||id == INVALID_PLAYER_ID) return SendClientMessage(playerid,-1,"ERROR:This Player isn't connected!");
else
{
//follow the way and do what you want
Reply


Messages In This Thread
/frisk problem - by fangoth1 - 30.12.2011, 06:59
Re: /frisk problem - by SnG.Scot_MisCuDI - 30.12.2011, 07:10
Re: /frisk problem - by saringan_cs - 30.12.2011, 07:15
Re: /frisk problem - by fangoth1 - 30.12.2011, 07:38
Re: /frisk problem - by fangoth1 - 30.12.2011, 11:07
Re: /frisk problem - by vassilis - 30.12.2011, 11:36

Forum Jump:


Users browsing this thread: 2 Guest(s)