3 errors when adding spawnpoint
#1

Hi

i am running a little server on the PPC_Trucking Gamemode

now i wanted to add a new spawnpoint for pilot class on an island
i mapped into the server i added the name to the dialog for /respawn
that worked all right but i can't add the coordinates i am getting 3 errors

(1095) : error 001: expected token: "}", but found "{"
(1097) : error 054: unmatched closing brace ("}")
(1097) : error 010: invalid function or declaration

i can't really find what i did wrong.
i posted some of the strings from the gamemode file on pastebin: http://pastebin.com/Cw2H6ntg


can someone help me out ?
Reply
#2

PHP код:
        new ASpawnLocationsPilot[][TSpawnLocation] =
{
    {
2010.0, -2345.013.690.0}, // Los Santos airport
    
{-1211.0, -105.014.2135.0}, // San Fierro airport
    
{1630.01615.010.990.0    }, // Las Venturas airport
    
{3469.332114.6034.9590.0}    // CI Airport
}; 
Reply
#3

Код:
{1630.0, 1615.0, 10.9, 90.0}
you miss , at last should be
PHP код:
{1630.01615.010.990.0}, 
PHP код:
new ASpawnLocationsPilot[][TSpawnLocation] =
          {
             {
2010.0, -2345.013.690.0}, // Los Santos airport
             
{-1211.0, -105.014.2135.0}, // San Fierro airport
             
{1630.01615.010.990.0}[COLOR="Red"],[/COLOR// Las Venturas airport
             
{3469.332114.6034.9590.0}, // CI Airport
                 
          
}; 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)