Server problem....
#1

i'm scripting, but when i save me newest script, i click on the server.exe and it closes imedtiately... it's the first time I have this, and I can't open the server.exe anymore!! help!!
Reply
#2

You sure that there is no errors in your script?
Reply
#3

Check the "server_log.log" file.

Maybe you have forgotten to change the rcon password in the server.cfg.
Reply
#4

yes there are two errors in my script
Reply
#5

error 029: invalid expression, assumed zero
error 008: must be a constant expression; assumed zero

Idk how to fix those errors...

i'm new in scripting
Reply
#6

Quote:
Originally Posted by knackworst
Посмотреть сообщение
error 029: invalid expression, assumed zero
error 008: must be a constant expression; assumed zero

Idk how to fix those errors...

i'm new in scripting
Please post the lines of your script, that are causing these errors.
Reply
#7

when I click compile I get this:
C:\Users\William\Downloads\TI\Tropical Island Server\gamemodes\Tropical_Island.pwn(9 : error 029: invalid expression, assumed zero
C:\Users\William\Downloads\TI\Tropical Island Server\gamemodes\Tropical_Island.pwn(9 : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.



The things I changed in the script are the spawn places...
Reply
#8

Quote:
Originally Posted by knackworst
Посмотреть сообщение
when I click compile I get this:
C:\Users\William\Downloads\TI\Tropical Island Server\gamemodes\Tropical_Island.pwn( 98 ) : error 029: invalid expression, assumed zero
C:\Users\William\Downloads\TI\Tropical Island Server\gamemodes\Tropical_Island.pwn( 98 ) : error 008: must be a constant expression; assumed zero
Show us the line that you have changed.
Copy line 98 and post it here.
Reply
#9

new Float:gRandomPlayerSpawns[23][3] = {
{419.800018, 2531.705322, 16.157726}, //Desert Airstrip Spawnpoint
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{146.09832763672,-2152.5739746094,17.721509933472}, //Tropicalisland spawnpoint
{146.09832763672,-2152.5739746094,17.721509933472},
{146.09832763672,-2152.5739746094,17.721509933472},
{146.09832763672,-2152.5739746094,17.721509933472},
{1861.2, -2656.3, 13.7}, //Los Santos Airport
{1861.2, -2656.3, 13.7},
{1861.2, -2656.3, 13.7},
{1861.2, -2656.3, 13.7},
{1861.2, -2656.3, 13.7},
{1861.2, -2656.3, 13.7},
{1861.2, -2656.3, 13.7},

97:
98. : };
Reply
#10

see "146._____" That "." after the six is meant to be a comma i think
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)