commands
#1

player can only see his stats i want player can see all player s stats id 0 bug some one fix it?

PHP код:
CMD:stats(playeridparams[])
{
    new 
targetidstring[256], string2[256], string3[256];
    if(
sscanf(params"u"targetid))
    if(!
IsPlayerConnected(targetid)) return SendClientMessage(playeridRED"Player is not connected!");
    { 
Reply
#2

PHP код:
CMD:stats(playeridparams[])
{
    new 
targetidstring[256], string2[256], string3[256];
    if(
sscanf(params"u"targetid)) return SendClientMessage(playerid0xFFFFFFFF"USAGE: /stats [playerid]");
    if(!
IsPlayerConnected(targetid)) return SendClientMessage(playeridRED"Player is not connected!");
    { 
This is what i managed to do with the code that was specified, tell me if anything goes wrong.
Reply
#3

lol so this is same. it means it will be work same too? any one reply?
Reply
#4

it's not the freaking same, open your eyes.
if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /stats [playerid]");
Reply
#5

i dont think it iwll be changed for this "return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /stats [playerid]");" let me check if yes so sory and thanks.!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)