need help here.
#1

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
Reply
#2

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.
Reply
#3

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
Reply
#4

still the same problem
Reply
#5

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;
}
Reply
#6

damn same errors again ---__---
Reply
#7

I don't understand. The codes are correct.

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

yeah -_-
idk why this is happening
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)