#1

hello all
i need a small help
i need a command like when u type /locate playerid
it should show the players location and zone in game
Reply
#2

Note that :
1.This is a completely basic command made in 2 mins
2.It uses sscanf
3.If you want to make work as you want you could use the wiki to find more info .
PHP код:
CMD:locate(playerid,params[])
{
    new 
id,Float:X,Float:Y,Float:Z;
    if(
sscanf(params,"u",id)) return SendClientMessage(playerid,-1,"CMD:/locate <id>");
    
GetPlayerPos(id,X,Y,Z);
    
SetPlayerCheckpoint(playerid,X,Y,Z);
    return 
1;

Reply
#3

This section isn't for requests.

If you need something, you may ask here: https://sampforum.blast.hk/showthread.php?tid=447813
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)