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.