01.06.2009, 16:25
Ok i got:
1 Question:
i got these errors and i don't know how to solve them it points to:
2Question.
How could i make when player chooses Enter house it would get the house id some how and enter him into the specific interior and coords? Please answer me i got 2 topics unanswered and it's really pissing me off
http://forum.sa-mp.com/index.php?topic=104652.0 help me here too <<<<<
Код:
case 4: //Ieiti { if(HInfo[houseid][HouseLock] == 0) { return 1; } new ownerid = GetPlayerID(HInfo[houseid][HouseOwner]); else if(HInfo[houseid][HouseLock] == 1 && ownerid == playerid) { } else if(HInfo[houseid][HouseLock] == 1 && ownerid != playerid) { SendClientMessage(playerid, COLOR_GOLD, "[INFO] Namas yra uzrakintas."); }
i got these errors and i don't know how to solve them it points to:
Код:
new ownerid = GetPlayerID(HInfo[houseid][HouseOwner]); else if(HInfo[houseid][HouseLock] == 1 && ownerid == playerid)
Код:
C:\Documents and Settings\Admin\Desktop\Verslai.pwn(163) : error 029: invalid expression, assumed zero C:\Documents and Settings\Admin\Desktop\Verslai.pwn(163) : warning 215: expression has no effect C:\Documents and Settings\Admin\Desktop\Verslai.pwn(163) : error 001: expected token: ";", but found "if" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
How could i make when player chooses Enter house it would get the house id some how and enter him into the specific interior and coords? Please answer me i got 2 topics unanswered and it's really pissing me off
http://forum.sa-mp.com/index.php?topic=104652.0 help me here too <<<<<