Warning help
#1

I cannot see what i done wrong here mabye u guys can help me, thanks in advance!

Код:
../gamemodes/OnGameMode.pwn(806) : warning 213: tag mismatch
pawn Код:
GarageInfo[g][gPickupID]=CreateDynamicPickup(1277, 1, GarageInfo[g][hEnterX], GarageInfo[g][gEnterY], GarageInfo[g][gEnterZ], GarageInfo[g][gEWorld], GarageInfo[g][gEInt]);
Reply
#2

The code is this:
CreateDynamicPickup(modelid, type, Float, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Floattreamdistance = STREAMER_PICKUP_SD);

and you put
1277, 1, GarageInfo[g][hEnterX], GarageInfo[g][gEnterY], GarageInfo[g][gEnterZ], GarageInfo[g][gEWorld], GarageInfo[g][gEInt]
all is good, but check if you declarated this variable hEnterX, a float variable in you enumeration, like that

enum garages

Float:hEnterX,
etc
Reply
#3

Quote:
Originally Posted by Mister0
Посмотреть сообщение
The code is this:
CreateDynamicPickup(modelid, type, Float, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Floattreamdistance = STREAMER_PICKUP_SD);

and you put
1277, 1, GarageInfo[g][hEnterX], GarageInfo[g][gEnterY], GarageInfo[g][gEnterZ], GarageInfo[g][gEWorld], GarageInfo[g][gEInt]
all is good, but check if you declarated this variable hEnterX, a float variable in you enumeration, like that

enum garages

Float:hEnterX,
etc
I already checked that i got everything in enum!
Reply
#4

Quote:
Originally Posted by N0FeaR
Посмотреть сообщение
I cannot see what i done wrong here mabye u guys can help me, thanks in advance!

Код:
../gamemodes/OnGameMode.pwn(806) : warning 213: tag mismatch
pawn Код:
GarageInfo[g][gPickupID]=CreateDynamicPickup(1277, 1, GarageInfo[g][hEnterX], GarageInfo[g][gEnterY], GarageInfo[g][gEnterZ], GarageInfo[g][gEWorld], GarageInfo[g][gEInt]);
try this
PHP код:
            GarageInfo[g][gPickupID]=CreateDynamicPickup(12771GarageInfo[g][gEnterX], GarageInfo[g][gEnterY], GarageInfo[g][gEnterZ], GarageInfo[g][gEWorld], GarageInfo[g][gEInt]); 
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)