Whats wrong, i dont get it - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Whats wrong, i dont get it (
/showthread.php?tid=201955)
Whats wrong, i dont get it -
Tutrix - 22.12.2010
Hmm, there is something wrong. I dont know how to fix it, i dont get the error.
This is my code
pawn Код:
else
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1612.3240,-2330.1670,13.5469);
SetPlayerFacingAngle(playerid, 0);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
}
return 1;
}
Код:
error 010: invalid function or declaration
This is the code i get the error on:
pawn Код:
else
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1612.3240,-2330.1670,13.5469);
SetPlayerFacingAngle(playerid, 0);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
}
HERE HERE return 1; - HERE HERE HERE
}
Re: Whats wrong, i dont get it -
Saurik - 22.12.2010
Код:
else
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1612.3240,-2330.1670,13.5469);
SetPlayerFacingAngle(playerid, 0);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
HERE HERE return 1; - HERE HERE HERE
}
Re: Whats wrong, i dont get it -
Luis- - 22.12.2010
pawn Код:
else
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1612.3240,-2330.1670,13.5469);
SetPlayerFacingAngle(playerid, 0);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
Re: Whats wrong, i dont get it - [03]Garsino - 22.12.2010
You should learn how to indent better, it makes it a lot easier to spot "typos" and such like this!
Re: Whats wrong, i dont get it -
Tutrix - 22.12.2010
Worked, thanks alot
EDIT: I dont know how that error got there, havent even moved the code.