09.06.2012, 22:08
Does anyone know how to make teleport command in zcmd? I realy need it.
CMD:tele(playerid, params[])
{
SetPlayerPos(playerid, COORDSHERE);
return 1;
}
pawn Код:
|
C:\Users\Windows7\Desktop\Test\gamemodes\test.pwn(293) : error 001: expected token: ";", but found "}" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
CMD:tele(playerid)
{
SetPlayerPos(playerid, COORDSHERE);
return 1;
}
Did you add the coordinates? Or did you just leave "COORDSHERE".
|
CMD:ls(playerid,params[])
{
SetPlayerPos(playerid,1395.7988,-753.5182,95.9959);
return 1
;
}