GotoPos Command
#3

Quote:
Originally Posted by DiGiTaL_AnGeL
Посмотреть сообщение
pawn Код:
if(strcmp(cmdt, "/gotopos", true) == 0)
{
        SetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
        SetPlayerInterior(playerid, int);
        return 1;
}
But I don't know why you don't want to choose YCMD. Anyway, the cmd made by you is wrong because you didn't defined the params and help unused :
pawn Код:
YCMD:gotopos(playerid, params[], help)
{
        #pragma unused params, help
        SetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
        SetPlayerInterior(playerid, int);
        return 1;
}
Thanks i Guess im gunna spend my night reading the wiki.
Reply


Messages In This Thread
GotoPos Command - by Jason_Dealley - 18.12.2012, 16:45
Re: GotoPos Command - by DiGiTaL_AnGeL - 18.12.2012, 16:58
Re: GotoPos Command - by Jason_Dealley - 18.12.2012, 16:59
Re: GotoPos Command - by DiGiTaL_AnGeL - 18.12.2012, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)