Warning help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Warning help (
/showthread.php?tid=601782)
Warning help -
N0FeaR - 26.02.2016
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]);
Re: Warning help -
Mister0 - 26.02.2016
The code is this:
CreateDynamicPickup(modelid, type, Float
![angry](images/smilies/mad.gif)
, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float
![confused](images/smilies/confused.gif)
treamdistance = 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
Re: Warning help -
N0FeaR - 26.02.2016
Quote:
Originally Posted by Mister0
The code is this:
CreateDynamicPickup(modelid, type, Float ![angry](images/smilies/mad.gif) , Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float ![confused](images/smilies/confused.gif) treamdistance = 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!
Re: Warning help -
Hellman92 - 26.02.2016
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(1277, 1, GarageInfo[g][gEnterX], GarageInfo[g][gEnterY], GarageInfo[g][gEnterZ], GarageInfo[g][gEWorld], GarageInfo[g][gEInt]);