error sa raceom

Započeo FullSlaSh, April 05, 2010, 16:30:37 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

nasao sam race na ovoj temi http://balkan-samp.com/forum/index.php?topic=1457.0 i kada sve ubacim izbaci mi errore:
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(3415) : error 029: invalid expression, assumed zero
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(3415) : warning 215: expression has no effect
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(3415) : error 001: expected token: ";", but found "if"

to jest na ovom djelu :
else if(CP[playerid] == 300) { CP[playerid] = 301; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1854.2563,846.4569,35.0569, 10.0); }
treba mi pomoc jer stvarno u ovom neam pojma, znam one osnove ali ovo ne xD

postaj nekoliko redova iznad i ispod...

iYoko

Koristite [ code=c ] [ /code ]

Nije bezveze stavljeno..

public OnPlayerEnterCheckpoint(playerid)
{
new string[128];
new name[MAX_PLAYER_NAME];
//-----------------------------------NRG--------------------------------------------
else if(CP[playerid] == 300) { CP[playerid] = 301; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1854.2563,846.4569,35.0569, 10.0); }
else if(CP[playerid] == 301) { CP[playerid] = 302; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1673.5345,846.2385,24.6948, 10.0); }
else if(CP[playerid] == 302) { CP[playerid] = 303; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1560.8887,844.1173,7.0391, 10.0); }
else if(CP[playerid] == 303) { CP[playerid] = 304; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1526.5807,884.1758,7.0391, 10.0); }
else if(CP[playerid] == 304) { CP[playerid] = 305; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1617.6240,925.2701,7.6576, 10.0); }
else if(CP[playerid] == 305) { CP[playerid] = 306; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1808.1826,926.7799,24.7422, 10.0); }
else if(CP[playerid] == 306) { CP[playerid] = 307; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1981.3612,926.8416,45.6645, 10.0); }
else if(CP[playerid] == 307) { CP[playerid] = 308; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2001.6895,886.9785,45.2969, 10.0); }
    else if(CP[playerid] == 308)
{

cek ne kuzim zasto si zapoceo sa "else if" ?? :(
Vikend je policija nas hvata,
vikend je ode cijela plata,
oko nas stvari ukradene,
sve smo dali na planove i sheme..
||||:=:=:=:=:=:=::=:=:=:=:=:=:=:THE IVEX:=:=:=:=:=:=:=:=:=::=:=:=:=:=:=::=:|||| 


PS: Ne saljite mi nikakve pm jer neodgovaram na njih! Ako trebate nes pitajte ove pr0 skriptere pa neka vam kazu!Hvala !

public OnPlayerEnterCheckpoint(playerid)
{
new string[128];
new name[MAX_PLAYER_NAME];
//-----------------------------------NRG--------------------------------------------
if(CP[playerid] == 300) { CP[playerid] = 301; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1854.2563,846.4569,35.0569, 10.0); }
else if(CP[playerid] == 301) { CP[playerid] = 302; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1673.5345,846.2385,24.6948, 10.0); }
else if(CP[playerid] == 302) { CP[playerid] = 303; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1560.8887,844.1173,7.0391, 10.0); }
else if(CP[playerid] == 303) { CP[playerid] = 304; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1526.5807,884.1758,7.0391, 10.0); }
else if(CP[playerid] == 304) { CP[playerid] = 305; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1617.6240,925.2701,7.6576, 10.0); }
else if(CP[playerid] == 305) { CP[playerid] = 306; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1808.1826,926.7799,24.7422, 10.0); }
else if(CP[playerid] == 306) { CP[playerid] = 307; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1981.3612,926.8416,45.6645, 10.0); }
else if(CP[playerid] == 307) { CP[playerid] = 308; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2001.6895,886.9785,45.2969, 10.0); }
    else if(CP[playerid] == 308)
{


Ovako ti mora izgledati
Aequam memento rebus in arduis servare mentem.

ne da mi se sa ovim vise zafrkavat, idem si trazit nesto lakse  8)
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1716) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1741) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1761) : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1766) : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1830) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1834) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1846) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1850) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1854) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1858) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1862) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1866) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1870) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1882) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1886) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1890) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1894) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1898) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1910) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1914) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1918) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1930) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(1934) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(2180) : error 004: function "SendIRCMessage" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(2202) : error 004: function "SendIRCMessage" is not implemented
C:\Documents and Settings\ismar\Desktop\SAMP SERVER\GTARP\gamemodes\gf.pwn(2214) : error 004: function "SaveCK" is not implemented

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


26 Errors.