~~NEED HELP~~
#1

Alright, this should be a simple fix. Basically, I get these errors when trying to Run a copy of New York Roleplay

Код:
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(1920) : warning 217: loose indentation
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(1966) : warning 217: loose indentation
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(2075) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(2510) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(2530) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(3255) : warning 217: loose indentation
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(3650) : warning 217: loose indentation
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(3663) : warning 217: loose indentation
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(3677) : warning 217: loose indentation
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(4796) : error 017: undefined symbol "RepairVehicle"
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(4788) : warning 204: symbol is assigned a value that is never used: "tmpcar"
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(13873) : error 017: undefined symbol "RepairVehicle"
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(20567) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(20597) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(20602) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(20607) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(20612) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(20617) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
C:\Documents and Settings\Jacek.JACEK-8A715A9BF\Desktop\For Jacek\gamemodes\SLRP.pwn(20622) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.



ALSO!!! IF the only way you can help me is to see a specific line, please request so.. I will add it below, along with the pre-added ones.


Line 2075
Код:
    if(IsPlayerNPC(playerid)) return 1;
Line 2510
Код:
	if(IsPlayerNPC(playerid)) return 1;
Line 13873
Код:
						        RepairVehicle(RepairCar[playerid]);
Line 2530
Код:
	if(IsPlayerNPC(playerid)) return 1;
Line 4796
Код:
   				RepairVehicle(tmpcar);
Reply
#2

First of all, you have an old version of the server package, download newest at sa-mp.com/download.php

for the indentations, just go to that warning line , press BACKSPACE till you get to the start of the line, THEN press "TAB" to indent, doesn't cause problems in the game play, but its nice to have it indented
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)