Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Help me /go cmd

$
0
0
im creating /go posx posy posz
but i have some proplames !
When i Write For Example:
/go 1959.595947 1352.792846 9.257812
its set me another place


This is Code:
Code:

CMD:go(playerid, params[])
{
        new bet;
        if(sscanf(params, "u", bet)) return SCM(playerid, -1, "USAGE:/go[floatx,floaty,floatz].");
        new Float:posx, Float:posy, Float:posz;
        GetPlayerPos(playerid, posx, posy, posz);
        SetPlayerPos(playerid,posx, posy, posz);
        new string [128];
        format(string, sizeof(string), "You Have Been Send To Your Choosen Location.");
        SCM(playerid, -1, string);
        return 1;

}


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>