The 'Pawn Language' Forum
An embedded scripting language
| Reply To This Topic Back To Forum Index |
|
Sfinx_17
|
Posted On 2010-01-20 07:43 -- Subject: Declarations undefined at compile when i create a global variable for example "new Future;" and when i try to put this at the callback OneGameModeInit...> Future = CreateVehicle(437, 0.0, 0.0, 0.0 , 0.0, 1000); after i compile the code why gives me this error of "undefined symbol Future.. i allready read here in pawn guide .and it says, that error means the declaration doesn't exist help plz i will apreciate if anywone could help me here a lit to fix this problem thanks |
|
Anthony
|
Posted On 2010-01-25 00:01 -- Subject: RE: Declarations undefined at compile First of all, the CreateVehicle function is obviously not included in Pawn so you are in the wrong forum, however I'll help. Add a declaration for Vehicle at either a global scope or locally. Global: new Vehicle; ... somefunction() { Vehicle=Create... } Local: somefunction() { new Vehicle=Create... } Good luck. |
| You Are On Page: 1/1 | << < 1 > >> |
- BiTBOARD version 2.5 by the
BiTSHiFTERS SDC -