Preciding Level..??
#1

When i try to add this in my GM i get this warnings... i cant find out the problem..! i hope you guys can do it..! help me guys -
pawn Код:
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\gamemodes\freeroam.pwn(10924) : warning 219: local variable "h" shadows a variable at a preceding level
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\gamemodes\freeroam.pwn(11091) : warning 219: local variable "h" shadows a variable at a preceding level
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Warnings.
Reply
#2

Lol remove the new Float:h or w/e on those lines because you defined them twice
Reply
#3

Quote:
Originally Posted by Tanush123
Посмотреть сообщение
Lol remove the new Float:h or w/e on those lines because you defined them twice
No use its showing error
pawn Код:
tag mismatch
Reply
#4

Change the 'new Float:h;' to new Float:health; and change the 'h' to health in your function.
Reply
#5

Don't remove just the Float, remove the
pawn Код:
new Float:h;
EDIT: Too late
Reply
#6

Quote:
Originally Posted by Jeffry
Посмотреть сообщение
Change the 'new Float:h;' to new Float:health; and change the 'h' to health in your function.
omg thanks ..helped a lot..!
Reply
#7

Quote:
Originally Posted by Ronaldo_raul™
Посмотреть сообщение
omg thanks ..helped a lot..!
No problem. Glad I could help you.
Reply
#8

Quote:
Originally Posted by Jeffry
Посмотреть сообщение
No problem. Glad I could help you.
no wait i got some problems i upload the screen as fast i can..!

EDIT:
Here is the screen i face when i try to spawn ..and after compilations no objects are loaded..-
Reply
#9

That seems strange. I had this too, but this happens only if your game has a problem. Have you added any mods or something that might crash your game?
Reply
#10

yeah i have added mods....but if i remove the whole code ..than it comes back to normal so no problem with mods..??
Reply
#11

off topic: jeffry your signature is hot ;o
Reply
#12

Quote:
Originally Posted by Tanush123
Посмотреть сообщение
off topic: jeffry your signature is hot ;o
PM Someone about that or post a Visitor message, You post is Post leeching
Reply
#13

Quote:
Originally Posted by Shockey HD
Посмотреть сообщение
PM Someone about that or post a Visitor message, You post is Post leeching
agree...!
And Please help me..!
Reply
#14

Quote:
Originally Posted by Ronaldo_raul™
Посмотреть сообщение
yeah i have added mods....but if i remove the whole code ..than it comes back to normal so no problem with mods..??
Probably tyour create an object or a vehicle that is modded and make the crash.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)