17.05.2009, 16:20
help please,
how can i put this in my script:
if(!strcmp(cmdtext,"/tele",true)) {
SetPlayerPos(playerid, 1459,443, -1073,91, 15);
SetPlayerAngle(playerid, 0);
return 1;
}
i get 3 errors then and here they are:
C:\Documents and Settings\SAMP pc\Desktop\server\pawno\new.pwn(140) : warning 202: number of arguments does not match definition
C:\Documents and Settings\SAMP pc\Desktop\server\pawno\new.pwn(140) : warning 202: number of arguments does not match definition
C:\Documents and Settings\SAMP pc\Desktop\server\pawno\new.pwn(141) : error 017: undefined symbol "SetPlayerAngle"
C:\Documents and Settings\SAMP pc\Desktop\server\pawno\new.pwn(145) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
the Setplayer angle is wrong, how to fix?
how can i put this in my script:
if(!strcmp(cmdtext,"/tele",true)) {
SetPlayerPos(playerid, 1459,443, -1073,91, 15);
SetPlayerAngle(playerid, 0);
return 1;
}
i get 3 errors then and here they are:
C:\Documents and Settings\SAMP pc\Desktop\server\pawno\new.pwn(140) : warning 202: number of arguments does not match definition
C:\Documents and Settings\SAMP pc\Desktop\server\pawno\new.pwn(140) : warning 202: number of arguments does not match definition
C:\Documents and Settings\SAMP pc\Desktop\server\pawno\new.pwn(141) : error 017: undefined symbol "SetPlayerAngle"
C:\Documents and Settings\SAMP pc\Desktop\server\pawno\new.pwn(145) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
the Setplayer angle is wrong, how to fix?