SA-MP Forums Archive
Need some help - 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: Need some help (/showthread.php?tid=66051)



Need some help - [H]InVion_ - 18.02.2009

I downloaded the Las Venturas Arena game mode from the sa-mp forums, and am having a few problems.
I made an admin island, and I tried to make a command to open the gate, but I'm getting a few errors.

Here is the intier script:
http://pastebin.com/f7d8a23f1

Here are my errors
Код:
C:\Users\Danny\Desktop\Backup\server\gamemodes\lva.pwn(93) : warning 202: number of arguments does not match definition
C:\Users\Danny\Desktop\Backup\server\gamemodes\lva.pwn(163) : warning 217: loose indentation
C:\Users\Danny\Desktop\Backup\server\gamemodes\lva.pwn(93) : warning 204: symbol is assigned a value that is never used: "gate"
C:\Users\Danny\Desktop\Backup\server\gamemodes\lva.pwn(1508) : error 055: start of function body without function header
C:\Users\Danny\Desktop\Backup\server\gamemodes\lva.pwn(1509) : error 010: invalid function or declaration
C:\Users\Danny\Desktop\Backup\server\gamemodes\lva.pwn(1512) : error 010: invalid function or declaration
C:\Users\Danny\Desktop\Backup\server\gamemodes\lva.pwn(1514) : error 010: invalid function or declaration
C:\Users\Danny\Desktop\Backup\server\gamemodes\lva.pwn(1517) : error 010: invalid function or declaration
Pawn compiler 3.2.3664      Copyright © 1997-2006, ITB CompuPhase


5 Errors.
If you can help me fix this, it would be appreciated.

I followed the tutorial by Bruzer.


P.S.
If someone could maybe make this command RCon only for me, I would really appreciate it. If not, no problem at all.
Thanks.
Dan.


Re: Need some help - brett7 - 19.02.2009

the first problem is
pawn Код:
CreateObject( modelid, x, y, z, rx, ry, rz );
but you have 8 bits rather than 7 on line 93


Re: Need some help - ICECOLDKILLAK8 - 19.02.2009

Post your code from them lines and we might be able to help you