#include <a_samp> #include <dini> #include <dudb> #include <pstream> #include <zcmd> #include <bfx_objects> #include <angdist> #include <sscanf2> #include <weapon>
if (strcmp("/haha", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,504.9661,11.1953,132.5); SetPlayerInterior(playerid, 0); return 1; }
CMD:haha(playerid, params[])
{
SetPlayerPos(playerid,504.9661,11.1953,132.5);
SetPlayerInterior(playerid, 0);
return 1;
}
Perhaps use ZCMD like this
pawn Код:
|
F:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\test.pwn(938) : error 029: invalid expression, assumed zero F:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\test.pwn(938) : error 017: undefined symbol "cmd_haha" F:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\test.pwn(938) : error 029: invalid expression, assumed zero F:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\test.pwn(938) : fatal error 107: too many error messages on one line
I get these error messages
Код:
F:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\test.pwn(938) : error 029: invalid expression, assumed zero F:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\test.pwn(938) : error 017: undefined symbol "cmd_haha" F:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\test.pwn(938) : error 029: invalid expression, assumed zero F:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\test.pwn(938) : fatal error 107: too many error messages on one line |
Perhaps use ZCMD like this
pawn Код:
|
#include <a_samp>
#include <dini>
#include <dudb>
#include <pstream>
#include <zcmd>
#include <bfx_objects>
#include <angdist>
#include <sscanf2>
#include <weapon>