Can you help me to Find my NPC?
#3

Or if use zmcd with ssanf which is more faster than strcmp:
PHP код:
CMD:goto(playeridparams[])
{
    new 
cible;
    if(
sscanf(params"u"cible)) return SCM(playerid, -1"/goto [playerid/name]");

    if(!
IsPlayerConnected(cible)) 
        return 
1;

    new 
Float:x,
        
Float:y,
        
Float:z;

    
GetPlayerPos(ciblexyz);
    
SetPlayerPos(playeridx+1y+1z);
    
SetPlayerInterior(playeridGetPlayerInterior(cible));
    
SetPlayerVirtualWorld(playeridGetPlayerVirtualWorld(cible));
    return 
1;

Reply


Messages In This Thread
Can you help me to Find my NPC? - by RedRex - 10.11.2016, 15:14
Re: Can you help me to Find my NPC? - by Pearson - 11.11.2016, 00:34
Re: Can you help me to Find my NPC? - by Dayrion - 11.11.2016, 01:24
Re: Can you help me to Find my NPC? - by Pearson - 11.11.2016, 01:25

Forum Jump:


Users browsing this thread: 1 Guest(s)