Quote:
Originally Posted by $ЂЯĢ
Change your IsPlayeRInArea function with this:
pawn Код:
IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); if (x > minx && x < maxx && y > miny && y < maxy) return 1; { DM[playerid] = 1; } return 0; }
|
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(9

: error 017: undefined symbol "DM"
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(9

: warning 215: expression has no effect
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(9

: error 001: expected token: ";", but found "]"
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(9

: error 029: invalid expression, assumed zero
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(9

: fatal error 107: too many error messages on one line
Код:
98 = DM[playerid] = 1;