AddStaticVehicleEx alredy defined
#1

Hi!


When I scripted a bit, I got this error:

Код:
C:\Users\Davve\Desktop\Fire n flames RPG DM\Server\Fire.pwn(40) : error 021: symbol already defined: "AddStaticVehicleEx"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
A bit of my script:
pawn Код:
public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}
AddStaticVehicleEx(428,-2644.09960938,1351.29980469,7.40000010,91.99951172,-1,-1,15); //Securicar
And I tryd with delete the line there the error whas but I got still get error on another
AddStaticVehicleEx...


Thanks alot.
Reply
#2

Код:
public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddStaticVehicleEx(428,-2644.09960938,1351.29980469,7.40000010,91.99951172,-1,-1,15); //Securicar
    return 1;
}
It must be inside to OnGameModeInit
Reply
#3

Oh yeah, It whas a while I scripted so forgot.. But thanks! .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)