[NO MORE HELP NEEDED]Some errors help! +1 rep -
vexer1234 - 29.07.2012
1:
Error:
pawn Код:
F:\HRP\ DYNAMIC \BACKUP + IMP\gamemodes\nomysql.pwn(53778) : error 017: undefined symbol "distance"
F:\HRP\ DYNAMIC \BACKUP + IMP\gamemodes\nomysql.pwn(53778) : warning 215: expression has no effect
F:\HRP\ DYNAMIC \BACKUP + IMP\gamemodes\nomysql.pwn(53778) : error 001: expected token: ";", but found ")"
F:\HRP\ DYNAMIC \BACKUP + IMP\gamemodes\nomysql.pwn(53778) : error 029: invalid expression, assumed zero
F:\HRP\ DYNAMIC \BACKUP + IMP\gamemodes\nomysql.pwn(53778) : fatal error 107: too many error messages on one line
Line:
pawn Код:
else if(strcmp(choice, "exterior", true) == 0)
{
GetPlayerPos(playerid, HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]);
GetPlayerFacingAngle(playerid, HouseInfo[houseid][hExteriorA]);
SendClientMessageEx( playerid, COLOR_WHITE, "You have changed the exterior!" );
DestroyDynamicPickup(HouseInfo[houseid][hPickupID]);
//DestroyDynamicPickup(HouseInfo[houseid][hPickupID]);
SaveHouses();
format(string, sizeof(string), "%s has edited HouseID %d's Exterior.", GetPlayerNameEx(playerid), houseid);
Log("logs/hedit.log", string);
if(HouseInfo[houseid][hOwned] ==0)
{
DestroyDynamicPickup(HouseInfo[houseid][hPickupID]);
//DestroyDynamicPickup(HouseInfo[houseid][hPickupID]);
DestroyDynamic3DTextLabel(HouseInfo[houseid][hTextID]);
format(string, sizeof(string), "This house is\n for sale!\n Description: %s\nCost: $%d\n Level: %d\nID: %d\nTo buy this house type /buyhouse",HouseInfo[houseid][hDescription],HouseInfo[houseid][hValue],HouseInfo[houseid][hLevel],houseid);
HouseInfo[houseid][hTextID] = CreateDynamic3DTextLabel( string, COLOR_GREEN, HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0); ////// this is the lineeeeee /////////
HouseInfo[houseid][hPickupID] = CreateDynamicPickup(1273, 23, HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]);
}
else
JUST REPLY BELOW WITH THE FIXED ONE PLEASE!
Re: Some errors help! +1 rep -
HyDrAtIc - 29.07.2012
wait second i will grab the pawn code for you
Re: Some errors help! +1 rep -
HyDrAtIc - 29.07.2012
add
#include <a_samp> on top of your script
Re: Some errors help! +1 rep -
vexer1234 - 29.07.2012
Quote:
Originally Posted by James_Nick
add
#include <a_samp> on top of your script
|
i already have it!
pawn Код:
#include <a_samp>
#include <streamer>
#include <a_zones>
#include <foreach>
#include <yom_buttons>
#include <djson>
#include <progress>
#include <YSI\y_timers>
#include <ZCMD>
#include <sscanf2>
#include <audio>
Re: Some errors help! +1 rep -
HyDrAtIc - 29.07.2012
show us the line show error not all cmd
Re: Some errors help! +1 rep -
gychem - 29.07.2012
Add a screenshot of your lines in pwn, or tell me what is on line 53778
Re: Some errors help! +1 rep -
vexer1234 - 29.07.2012
pawn Код:
HouseInfo[houseid][hTextID] = CreateDynamic3DTextLabel( string, COLOR_GREEN, HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0); ////// this is the lineeeeee /////////
Re: Some errors help! +1 rep -
HyDrAtIc - 29.07.2012
damn i just compile no error appear 0_0 try to run pawno as administrator and see if it work
Re: Some errors help! +1 rep -
vexer1234 - 29.07.2012
Still errors... :/
Re: Some errors help! +1 rep -
vexer1234 - 29.07.2012
bummpppp + Its fixed! Rep'ed all!!
THANKS!!