Steamer/House Errors
#1

Код:
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\gamemodes\x-rp.pwn(16696) : error 017: undefined symbol "distance"
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\gamemodes\x-rp.pwn(16696) : warning 215: expression has no effect
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\gamemodes\x-rp.pwn(16696) : error 001: expected token: ";", but found ")"
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\gamemodes\x-rp.pwn(16696) : error 029: invalid expression, assumed zero
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\gamemodes\x-rp.pwn(16696) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
i got errors exactly like that.


Changed
Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0);
to
Код:
		HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, 1, 30.0);
and now after changing all of the houseinfo's
Код:
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(16820) : warning 213: tag mismatch
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(51944) : warning 213: tag mismatch
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(51991) : warning 213: tag mismatch
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(52023) : warning 213: tag mismatch
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(53716) : warning 213: tag mismatch
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(53726) : warning 213: tag mismatch
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(53734) : warning 213: tag mismatch
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(53877) : warning 213: tag mismatch
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(53887) : warning 213: tag mismatch
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(53895) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
And now i cannot see house text :\
anyone know what the problem is?
Reply
#2

Tag mismatch means that you have forgot something in your line
Reply
#3

but all my houses text show'd before i updated steamer, but i got an error when i done it so i done the fix and then its not working, what would be the mismatch?
Reply
#4

Or you use wrong type of variable exp. integer instead of string.
Or you try to change value in Get function. exp. GetPlayerPos(playerid,x+5,y,z);

Код:
change .testlos = 1, .distance = 30.0
in this  1,30.0
Reply
#5

Quote:
Originally Posted by Azazelo
Посмотреть сообщение
Or you use wrong type of variable exp. integer instead of string.
Or you try to change value in Get function. exp. GetPlayerPos(playerid,x+5,y,z);
im confused, what do you mean?

Azazelo, i did already..
Reply
#6

Код:
CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Quote:

Float you use a 1 this is integer float is 1.0

Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ],30.0, 1, 30.0);
Reply
#7

ill try that.
Reply
#8

Код:
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(16820) : error 029: invalid expression, assumed zero
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(16820) : error 017: undefined symbol "text"
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(16820) : warning 215: expression has no effect
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(16820) : error 017: undefined symbol "attachedvehicle"
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(16820) : fatal error 107: too many error messages on one line
Код:
		HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Reply
#9

Copy / Paste this
Quote:

HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ],30.0, 1, 30.0);

Reply
#10

still got
Код:
C:\Users\Nathan\Desktop\Evation RP - Copy\gamemodes\ERP.pwn(16820) : warning 213: tag mismatch
ill go do this to all of them, and see if i can see text.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)