About Sandra's Ranking System
#4

OPCT:
Код:
new cmd[256], tmp[256];
new	idx;
cmd = strtok(cmdtext, idx);
if (strcmp("/prank", cmd, true) == 0)
{
tmp = strtok(cmdtext,idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /prank [playerid]");
new selectid = strval(tmp);
if(!IsPlayerConnected(selectid )) return SendClientMessage(playerid, 0xAA3333AA, "That player isn't connected.");
if(playerid != selectid)
{
GetPlayerStats(selectid);
}
return 1;
}
DCMD:
Код:
dcmd_prank(playerid, params[])
{
new selectid;
if(sscanf(params, "d", selectid)) return SendClientMessage(playerid, 0xFFFFFFFF, "Usage: '/prank [playerid]'");
GetPlayerStats(selectid);
return 1;
}
ZCMD:
Код:
CMD:prank(playerid, params[])
{
new selectid;
if(sscanf(params, "d", selectid)) return SendClientMessage(playerid, 0xFFFFFFFF, "Usage: '/prank [playerid]'");
GetPlayerStats(selectid);
return 1;
}
Reply


Messages In This Thread
About Sandra's Ranking System - by DevilRP - 20.05.2010, 00:30
Re: About Sandra's Ranking System - by deather - 20.05.2010, 01:36
Re: About Sandra's Ranking System - by DevilRP - 20.05.2010, 01:38
Re: About Sandra's Ranking System - by deather - 20.05.2010, 02:15
Re: About Sandra's Ranking System - by DevilRP - 20.05.2010, 02:21
Re: About Sandra's Ranking System - by deather - 20.05.2010, 02:32
Re: About Sandra's Ranking System - by DevilRP - 20.05.2010, 02:38
Re: About Sandra's Ranking System - by deather - 20.05.2010, 02:40
Re: About Sandra's Ranking System - by DevilRP - 20.05.2010, 02:47
Re: About Sandra's Ranking System - by deather - 20.05.2010, 02:50

Forum Jump:


Users browsing this thread: 1 Guest(s)