dcmd(lv, 2, cmdtext); argument type mismatch (argument 2)
dcmd("lv", 2, cmdtext);
Originally Posted by dice7
pawn Код:
|
C:\Users\Damien\Desktop\samp server 0.3\gamemodes\sffr.pwn(119) : error 017: undefined symbol "dcmd_" C:\Users\Damien\Desktop\samp server 0.3\gamemodes\sffr.pwn(119) : error 029: invalid expression, assumed zero C:\Users\Damien\Desktop\samp server 0.3\gamemodes\sffr.pwn(119) : error 029: invalid expression, assumed zero C:\Users\Damien\Desktop\samp server 0.3\gamemodes\sffr.pwn(119) : fatal error 107: too many error messages on one line
dcmd(lv,strlen("lv"),cmdtext);
dcmd_lv(playerid,params[]) {
return 1;
}
Originally Posted by [HuN
Gamestar ]
lol... pawn Код:
|
Originally Posted by Blacklite
Are you sure your DCMD is defined correctly? That looks fine to me..
Also, where is your "dcmd_lv(playerid, params[])"? Post the code where that starts, too. |
dcmd_lv(playerid,cmdtext) { #pragma unused cmdtext SetPlayerPos(playerid,2098.4771,1159.6377,11.6484); SetPlayerFacingAngle(playerid,62.3579); return 1; }
Originally Posted by [HuN
Gamestar ]
lol... pawn Код:
|
dcmd_lv(playerid,cmdtext[]) { #pragma unused cmdtext SetPlayerPos(playerid,2098.4771,1159.6377,11.6484); SetPlayerFacingAngle(playerid,62.3579); return 1; }
Originally Posted by Blacklite
Код:
dcmd_lv(playerid,cmdtext[]) { #pragma unused cmdtext SetPlayerPos(playerid,2098.4771,1159.6377,11.6484); SetPlayerFacingAngle(playerid,62.3579); return 1; } |