29.07.2012, 15:12
(
Последний раз редактировалось vexer1234; 29.07.2012 в 15:45.
)
1:
Error:
Line:
JUST REPLY BELOW WITH THE FIXED ONE PLEASE!
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
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