/find
#2

Try this

PHP код:

CMD
:find(playeridparams[]) 

    if(
pInfo[playerid][pJob] != 1) return SendClientMessage(playeridCOLOR_DARKGRAY,"You're not a detective!");
    new 
targetidFloat:xFloat:yFloat:z
    if(
sscanf(params,"u"targetid)) return SendSyntaxMessage(playerid"/find [playerid/PartOfName]");
    if(!
IsPlayerConnected(targetid)) return SendClientMessage(playeridCOLOR_DARKGRAY,"Invalid player!");
    
GetPlayerPos(targetidxyz); 
    
SetPlayerCheckpoint(playeridxyz4.0);
    
FindTimer[playerid] = SetTimerEx("findPlayer"10001"ii"targetidplayerid);
    return 
1

Reply


Messages In This Thread
/find - by norton2 - 18.10.2015, 16:10
Re: /find - by N0FeaR - 30.10.2015, 07:11

Forum Jump:


Users browsing this thread: 1 Guest(s)