05.03.2010, 00:01
hello i put this at the top of my script
for my minigun DM and put this in my command
and when i compile i get this
(ignore the COLOR_BLUE thing i know what that is)
line 39 is
anyone know why this is happening?
Код:
new Float:MiniRandSpawn[][4] = { {1368.1959,2194.6023,9.7578}, {1393.2163,2167.3555,9.7578} }
Код:
new iRandom = random(sizeof(MiniRandSpawn)); SetPlayerPos(playerid, MiniRandSpawn[iRandom][0], MiniRandSpawn[iRandom][1],MiniRandSpawn[iRandom][2]); SetPlayerFacingAngle(playerid, MiniRandSpawn[iRandom][3]);
Код:
C:\Users\Windows Vista\sampserver\gamemodes\Cranked.pwn(39) : error 001: expected token: ";", but found "public" C:\Users\Windows Vista\sampserver\gamemodes\Cranked.pwn(130) : error 017: undefined symbol "COLOR_BLUE" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
line 39 is
Код:
public OnGameModeInit()