[Pomoc] Errori

13. Dec. 2012. Zaključano
411
pregleda
5
postova
isk0
5
Underboss
13. Dec. 2012.
Skripta koju koristim: Igram se malo sa Dilimore RP
Detaljan opis problema: Kada pravim ulaz u zgradu izbaci mi neke errore, koje ne mogu da skontam...
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(544) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(638) : error 001: expected token: ")", but found "{"
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(643) : error 017: undefined symbol "pInt"
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(646) : error 001: expected token: ")", but found "{"
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(651) : error 017: undefined symbol "pInt"
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(653) : warning 217: loose indentation
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(653) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(656) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(656) : error 004: function "S@@_OnRconLoginAttempt" is not implemented
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(658) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(661) : warning 225: unreachable code
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(661) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(661) : error 004: function "OnPlayerUpdate" is not implemented
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(663) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(666) : warning 225: unreachable code
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(666) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(666) : error 004: function "S@@_OnPlayerStreamIn" is not implemented
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(668) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(671) : warning 225: unreachable code
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(671) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(671) : error 004: function "S@@_OnPlayerStreamOut" is not implemented
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(673) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(676) : warning 225: unreachable code
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(676) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(676) : error 004: function "S@@_OnVehicleStreamIn" is not implemented
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(678) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(681) : warning 225: unreachable code
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(681) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(681) : error 004: function "S@@_OnVehicleStreamOut" is not implemented
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(683) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(686) : warning 225: unreachable code
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(686) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(686) : error 004: function "S@@_OnDialogResponse" is not implemented
C:\Documents and Settings\Isko\Desktop\Dillmore RP\gamemodes\dr.pwn(688) : error 017: undefined symbol "dialogid"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

26 Errors.

Dio skripte:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if( newkeys == KEY_ACTION )
{
if(IsPlayerInRangeOfPoint(playerid,3.0,627.2355,-571.8029,17.9145) //Ulaz
{
GameTextForPlayer(playerid, "~w~Uprava Teksaskih rendzera", 5000, 4);
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,1550.8385,-1685.6138,1723.1050);
SetPlayerFacingAngle(playerid, 7.4768);
PlayerInfo = 6;
}
else if(IsPlayerInRangeOfPoint(playerid,3.0,1550.8385,-1685.6138,1723.1050) //Izlaz
{
GameTextForPlayer(playerid, "~w~Dillimore", 5000, 4);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,627.2355,-571.8029,17.9145);
SetPlayerFacingAngle(playerid, 7.4768);
PlayerInfo = 0;
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):/
Blaeks_Biofor
5
Forum Don
14. Dec. 2012.
poravnaj linije, defini to sto treba, i to su ti valjda svi errori...
isk0
5
Underboss
14. Dec. 2012.
Evo enum...
enum pInfo
{
    pPass,
    pNovac,
    pAdmin,
    pGodine,
    pInt,
    pZemlja,
    pPosao
}
isk0
5
Underboss
14. Dec. 2012.
David (Sabljak) wrote on December 14, 2012, 10:04 am:
Reko sam mu ja na serveru uzivo sad

if(IsPlayerInRangeOfPoint(playerid,3.0,627.2355,-571.8029,17.9145)) //Ulaz

Nije dobro zagrade zatvorio

Opet isti errori :S
isk0
5
Underboss
14. Dec. 2012.
David (Sabljak) wrote on December 14, 2012, 10:23 am:
Evo radi
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if( newkeys == KEY_ACTION )
{
if(IsPlayerInRangeOfPoint(playerid,3.0,627.2355,-571.8029,17.9145)) //Ulaz
{
GameTextForPlayer(playerid, "~w~Uprava Teksaskih rendzera", 5000, 4);
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,1550.8385,-1685.6138,1723.1050);
SetPlayerFacingAngle(playerid, 7.4768);
PlayerInfo = 6;
}
else if(IsPlayerInRangeOfPoint(playerid,3.0,1550.8385,-1685.6138,1723.1050)) //Izlaz
{
GameTextForPlayer(playerid, "~w~Dillimore", 5000, 4);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,627.2355,-571.8029,17.9145);
SetPlayerFacingAngle(playerid, 7.4768);
PlayerInfo = 0;
}
}
return 1;
}

Hvala puno ! <3 😄
Moze LOCK !

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha