X Y Z POS hlep
#5

Quote:
Originally Posted by best_killa
Посмотреть сообщение
sorry but it all works just the error undifined symbol cmd??
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/getpos", cmdtext, true, 10) == 0)
{
    new StrGetPos[150], Float:X, Float:Z, Float:Y;
    GetPlayerPos(playerid, X, Y, Z);
    format(StrGetPos, sizeof(StrGetPos),"Your Current Position: {0080FF}%f, %f, %f,", X, Y, Z);
    SendClientMessage(playerid, COLOR_WHITE, StrGetPos);
    return 1;
}
    return 0;
}
Reply


Messages In This Thread
X Y Z POS hlep - by best_killa - 04.08.2011, 02:45
Re: X Y Z POS hlep - by =WoR=Varth - 04.08.2011, 02:55
Re: X Y Z POS hlep - by Rolyy - 04.08.2011, 02:55
Re: X Y Z POS hlep - by best_killa - 04.08.2011, 03:08
Re: X Y Z POS hlep - by Horrible - 04.08.2011, 03:19

Forum Jump:


Users browsing this thread: 2 Guest(s)