SA-MP Forums Archive
need help here. - 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)
+--- Thread: need help here. (/showthread.php?tid=493607)



need help here. - iThePunisher - 09.02.2014

im making capture zones with checkpoint and here i ha've got some errors i tryed to fix them but i couldnt
so help me in this
here are the errors
pawn Код:
C:\Users\hacker\Desktop\lscnr script\gamemodes\lscnr.pwn(907) : error 035: argument type mismatch (argument 1)
C:\Users\hacker\Desktop\lscnr script\gamemodes\lscnr.pwn(908) : error 035: argument type mismatch (argument 1)
C:\Users\hacker\Desktop\lscnr script\gamemodes\lscnr.pwn(910) : error 001: expected token: ";", but found "-identifier-"
C:\Users\hacker\Desktop\lscnr script\gamemodes\lscnr.pwn(910 -- 911) : error 029: invalid expression, assumed zero
C:\Users\hacker\Desktop\lscnr script\gamemodes\lscnr.pwn(911) : error 029: invalid expression, assumed zero
C:\Users\hacker\Desktop\lscnr script\gamemodes\lscnr.pwn(911) : fatal error 107: too many error messages on one line

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

6 Errors.

here are the error lines
pawn Код:
public OnGameModeInit()
{
    CP[GlenPark] = CreateDynamicCP("-1196.5269,17.4500,174.1157")
    Zone[GlenPark] = GangZoneCreate("1973.7164,-1196.5269,17.4500")
    UnderAttack[GlenPark] = -1
    Captured[GlenPark] = -1
    tCP[GlenPark] = TEAM_NONE



Re: need help here. - phoon - 09.02.2014

pawn Код:
public OnGameModeInit()
{
    CP[GlenPark] = CreateDynamicCP("-1196.5269,17.4500,174.1157");
    Zone[GlenPark] = GangZoneCreate("1973.7164,-1196.5269,17.4500");
    UnderAttack[GlenPark] = -1;
    Captured[GlenPark] = -1;
    tCP[GlenPark] = TEAM_NONE;
You need to put ';' in the end of your function.


Re: need help here. - Aldi666 - 09.02.2014

maybe
Код:
public OnGameModeInit()
{
    CP[GlenPark] =
CreateDynamicCP
(-1196.5269,17.4500,174.1157,15, -1, -1, playerid,
5000.0);
Zone[GlenPark] =
GangZoneCreate
(1973.7164,-1196.5269,17.4500);
UnderAttack[GlenPark] = -1
Captured[GlenPark] = -1
tCP[GlenPark] = TEAM_NONE



Re: need help here. - iThePunisher - 09.02.2014

still the same problem


Re: need help here. - AssMunchingFool - 09.02.2014

pawn Код:
public OnGameModeInit()
{
    CP[GlenPark] = CreateDynamicCP("-1196.5269,17.4500,174.1157");
    Zone[GlenPark] = GangZoneCreate("1973.7164,-1196.5269,17.4500");
    UnderAttack[GlenPark] = -1;
    Captured[GlenPark] = -1;
    tCP[GlenPark] = TEAM_NONE;
    return 1;
}



Re: need help here. - iThePunisher - 09.02.2014

damn same errors again ---__---


Re: need help here. - phoon - 09.02.2014

I don't understand. The codes are correct.

I suggest you to ask help from professionals like ****** or someone...


Re: need help here. - iThePunisher - 09.02.2014

yeah -_-
idk why this is happening