Help..
#1

Help me with those errors please!


pawn Код:
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(11234) : warning 217: loose indentation
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(11242) : warning 217: loose indentation
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(25549) : error 017: undefined symbol "Get2DPosZone"
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(25556) : error 017: undefined symbol "Get2DPosZone"
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(34509) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(34510) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(34511) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(34512) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(34521) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(34771) : warning 217: loose indentation
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(43593) : warning 217: loose indentation
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(44461) : warning 217: loose indentation
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(46375) : warning 217: loose indentation
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(46376) : warning 217: loose indentation
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(51887) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditAttachedObject")
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(53616) : error 017: undefined symbol "EditAttachedObject"
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(58784) : error 017: undefined symbol "Get3DZone"
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(58784) : warning 202: number of arguments does not match definition
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(58818) : error 017: undefined symbol "Get3DZone"
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(58818) : warning 202: number of arguments does not match definition
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(59049) : warning 217: loose indentation
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(59085) : warning 217: loose indentation
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(61815) : error 017: undefined symbol "Get3DZone"
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(61815) : warning 202: number of arguments does not match definition
C:\Users\Mamoun\Desktop\PRRP\gamemodes\PRRP.pwn(62971) : error 017: undefined symbol "SPECIAL_ACTION_CUFFED"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


12 Errors.
Reply
#2

Can you put lines ..
Reply
#3

You need to make a forward for this "OnPlayerEditAttachedObject". And for loose indentation make sure the lines are under each other.

pawn Код:
//will get loose indentation warning
     SendClientMessage(playerid,color,"text " );
   SendClientMessage(playerid,color,"text " );
//wil not get warning
      SendClientMessage(playerid,color,"text " );
      SendClientMessage(playerid,color,"text " );
Reply
#4

For this
PHP код:
AttachDynamicObjectToVehicle 
you'll need just this one
PHP код:
 AttachObjectToVehicle 
and dont forget to include the latest a_objects.inc

PHP код:
error 017undefined symbol "Get2DPosZone and Get3..." 
Give me the lines i'll fix it for u


PHP код:
 warning 217loose indentation 
Just Arrange the lines each of them correctly.

Good luck
Reply
#5

Quote:
Originally Posted by 1fret
Посмотреть сообщение
You need to make a forward for this "OnPlayerEditAttachedObject". And for loose indentation make sure the lines are under each other.

pawn Код:
//will get loose indentation warning
     SendClientMessage(playerid,color,"text " );
   SendClientMessage(playerid,color,"text " );
//wil not get warning
      SendClientMessage(playerid,color,"text " );
      SendClientMessage(playerid,color,"text " );
There's obviously a lot more wrong than just this.......

Get2DPosZone
AttachDynamicObjectToVehicle
EditAttachedObject
Get3DZone

and missing Special_Action_Cuffed as well...


Chances are a missing or outdated include is causing this, or the scripter has messed up a decent portion of the script they have.


You NEED to debug your code... You won't learn from simply pasting up everything to the forums.

Those errors are telling you what the issue is, a warning will still allow the compile but things will have problems.

Another error is the parameters not matching what was defined earlier in the script for a function in the script.



So many errors, you need to fix it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)