24.06.2013, 00:09
It is showing 3 errors
error
Код:
if (strcmp("/prikazy3", cmdtext, true, 10) == 0) { new string[300]; strcat(string, "Moderбtor Level 3 - Prнkazy","Level 3:\n\n+Level 1 Prнkazy\n+Level 2 prнkazy\n"); //error line strcat(string, "/set (health/armour/cash/score/skin/wanted/name/weather/time/world/interior/ping/gravity\n/setallskin\n/armourall\n"); strcat(string, "/setallwanted\n/setallweather\n/setalltime\n/setallworld\n/setallscore\n/setallcash\n/giveallweapon\n"); strcat(string, "/clearallchat\n/healall\n/diseblechat\n/ubound\n/duel\n/akill\n/aka\n/caps\n/(un)freeze\n/kick\n/explode\n/(un)jail\n"); strcat(string, "/force\n/eject\n/(s)removecash\n/car\n/carhealth\n/carcolour\n/destroycar\n/vget\n/givecar\/teleplayer\n"); //error line strcat(string, "/gethere\n/get\n/move\n/moveplayer\n/gps\n/lcam\n/setpass\n/lammo\n/countdown\n/aweaps\n/invisible\n/visible\n"); strcat(string, "Word\n"); ShowPlayerDialog(playerid,3,DIALOG_STYLE_MSGBOX, "OK", string, "OK", ""); return 1; } return 0; }
Код:
C:\Users\kjn\Documents\Server\gamemodes\kjn.pwn(367) : error 035: argument type mismatch (argument 3) C:\Users\kjn\Documents\Server\gamemodes\kjn.pwn(371) : error 027: invalid character constant C:\Users\kjn\Documents\Server\gamemodes\kjn.pwn(371) : error 027: invalid character constant Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.