SA-MP Forums Archive
errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: errors (/showthread.php?tid=437311)



errors - Ryan_Obeles - 15.05.2013

PHP код:
new Float:g_fHospitalLocations[][]=
{
    { -
2655.2185, 639.6664, 14.4545 },
    { -
2016.5922, 116.7702, 27.6875 }, //test only not a hospital
}; 
Код:
C:\Users\aa\Desktop\Server\gamemodes\IGRP.pwn(438) : error 029: invalid expression, assumed zero
C:\Users\aa\Desktop\Server\gamemodes\IGRP.pwn(438) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: errors - mastermax7777 - 15.05.2013

new Float:g_fHospitalLocations[][]=
{
{ -2655.2185, 639.6664, 14.4545 },
{ -2016.5922, 116.7702, 27.6875 } //test only not a hospital
};


Re: errors - Ryan_Obeles - 15.05.2013

i guess i did forget to remove , sorry lock this topic plz