NRG race ;D mala pomoc

Započeo galeb, Jul 23, 2009, 12:25:11 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 4 gostiju pregledaju ovu temu.

Evo decki nasao sam bio nesto pa sam isao napraviti cijeli ;D


i evo sta mi dode
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : error 017: undefined symbol "sendersname"
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(102) : warning 217: loose indentation
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(107) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.



a evo koda

#include <a_samp>

#define FILTERSCRIPT
#define COLOR_DARKBLUE 0x0000D0FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_LIGHTBLUE 0xBBFFFFFF
#define COLOR_BLACK 0x000000FF
#if defined FILTERSCRIPT
new gate1;
new gate2;
main()
{

}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE, "Ovaj server koristi NRG race napravljen by: Galeb.");
return 1;
}
public OnFilterScriptInit()

{
print("|______________NRG race[FS]______________|");
print("|___________Created By: galeb____________|");
print("|______________(c) 2009__________________|");

CreateObject(972, -1972.061279, 890.428467, 44.200005, 0.0000, 0.0000, 0.0000);
CreateObject(972, -1972.135864, 873.428467, 44.200005, 0.0000, 0.0000, 0.0000);
CreateObject(972, -1981.157593, 907.769836, 44.200005, 0.0000, 0.0000, 270.6186);
CreateObject(972, -1976.822388, 860.274963, 44.794777, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.241699, 867.704468, 47.186672, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.290527, 874.914551, 47.173553, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.369629, 899.373230, 47.261719, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.328979, 893.421692, 47.286720, 0.0000, 0.0000, 89.3814);
gate1 = CreateObject(969, -1991.581177, 884.492920, 47.201939, 0.0000, 0.0000, 90.0000);
gate2 = CreateObject(969, -1983.659912, 845.697510, 44.980431, 0.0000, 0.0000, 90.0000);

return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print(" NRG race LOADED");
}

#endif


public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/nrghelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
SendClientMessage(playerid, COLOR_DARKBLUE, "|~|~|Commands|~|~|");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrghelp - Ova komanda stvara ovo ;D.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/clearchat - Ova komanda ocisti chat.");
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgs - Igraci startaju race.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgp - Dize se ogradiza za start.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/setnrgracer - Poziva igraca na startnu liniju.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgo - Otvara garazu sa NRG-ovima.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgz - Zatvara vrata sa NRG-ovima.");
SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
        return 1;
}
if(strcmp(cmdtext,"/clearchat",true)==0)
{
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
return 1;
}
if(strcmp(cmdtext,"/setnrgracer",true)==0)
{
SetPlayerCheckpoint(playerid,-1990.8082,845.3881,45.6682,50.0);
GameTextForPlayer(playerid, "Vas NRG ORGANIZATOR %s je pozvao %s na NRG start liniju!", sendersname, giveplayer);
return 1;
}
if(strcmp(cmdtext,"/nrgs",true)==0)
{
        MoveObject(gate2,-1983.659912, 845.697510, 44.980431,50.000);
return 1;
}
if(strcmp(cmdtext,"/nrgp",true)==0)
{
        MoveObject(gate2,-1983.595093, 845.671875, 42.480431,50.000);
return 1;
}
if(strcmp(cmdtext,"/nrgo",true)==0)
{
        MoveObject(gate1,-1991.581177, 884.492920, 47.201939,5);
return 1;
}
if(strcmp(cmdtext,"/nrgz",true)==0)
{
        MoveObject(gate1,-1991.512939, 884.430969, 40.476517,5);
return 1;
}
return 0;
}




ako mi moze neko rec kako popraviti i da mi kaze kako da stavim CP jer mi se javljaju greske


Ovo je error sa CP-ovima

C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace2.pwn(45) : error 029: invalid expression, assumed zero
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace2.pwn(45) : warning 215: expression has no effect
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace2.pwn(45) : error 001: expected token: ";", but found "if"
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace2.pwn(45) : error 017: undefined symbol "CP"
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace2.pwn(45) : fatal error 107: too many error messages on one line

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


4 Errors.



a ovo je kod sa CP-ovima

#include <a_samp>

#define FILTERSCRIPT
#define COLOR_DARKBLUE 0x0000D0FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_LIGHTBLUE 0xBBFFFFFF
#define COLOR_BLACK 0x000000FF
#if defined FILTERSCRIPT
new gate1;
new gate2;
main()
{

}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE, "Ovaj server koristi NRG race napravljen by: Galeb.");
return 1;
}
public OnFilterScriptInit()

{
print("|______________NRG race[FS]______________|");
print("|___________Created By: galeb____________|");
print("|______________(c) 2009__________________|");

CreateObject(972, -1972.061279, 890.428467, 44.200005, 0.0000, 0.0000, 0.0000);
CreateObject(972, -1972.135864, 873.428467, 44.200005, 0.0000, 0.0000, 0.0000);
CreateObject(972, -1981.157593, 907.769836, 44.200005, 0.0000, 0.0000, 270.6186);
CreateObject(972, -1976.822388, 860.274963, 44.794777, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.241699, 867.704468, 47.186672, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.290527, 874.914551, 47.173553, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.369629, 899.373230, 47.261719, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.328979, 893.421692, 47.286720, 0.0000, 0.0000, 89.3814);
gate1 = CreateObject(969, -1991.581177, 884.492920, 47.201939, 0.0000, 0.0000, 90.0000);
gate2 = CreateObject(969, -1983.659912, 845.697510, 44.980431, 0.0000, 0.0000, 90.0000);

return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
//------------------------------Checkpoint ------------------------------------------
new name[MAX_PLAYER_NAME];
new string[128];
else if(CP[playerid] == 300) { CP[playerid] = 301; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1990.8082,845.3881,45.6682,50.0); } //1
else if(CP[playerid] == 301) { CP[playerid] = 302; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1990.1111,845.4772,45.2969,50.0); } //2
else if(CP[playerid] == 302) { CP[playerid] = 303; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1854.2563,846.4569,35.0569,50.0); } //3
else if(CP[playerid] == 303) { CP[playerid] = 304; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1673.5345,846.2385,24.6948,50.0); } //4
else if(CP[playerid] == 304) { CP[playerid] = 305; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1560.8887,844.1173,7.0391,50.0); } //5
else if(CP[playerid] == 305) { CP[playerid] = 306; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1526.5807,884.1758,7.0391,50.0); } //6
else if(CP[playerid] == 306) { CP[playerid] = 307; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1617.6240,925.2701,7.6576,50.0); } //7
else if(CP[playerid] == 307) { CP[playerid] = 308; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1808.1826,926.7799,24.7422,50.0); } //8
else if(CP[playerid] == 308) { CP[playerid] = 309; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1981.3612,926.8416,45.6645,50.0); } //9
else if(CP[playerid] == 309) { CP[playerid] = 310; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1979.0359,921.5753,45.2969,50.0); } //10
else if(CP[playerid] == 310) { CP[playerid] = 311; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2001.6895,886.9785,45.2969,50.0); } //Finish
else if(CP[playerid] == 311)
{
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "NRG race : %s je upravo zavrsio NRG Race. ", name);
SendClientMessageToAll(0xFFFFFFAA, string);
}
//-------------------------KRAJ--------------
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print(" NRG race LOADED");
}

#endif


public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/nrghelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
SendClientMessage(playerid, COLOR_DARKBLUE, "|~|~|Commands|~|~|");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrghelp - Ova komanda stvara ovo ;D.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/clearchat - Ova komanda ocisti chat.");
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgs - Igraci startaju race.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgp - Dize se ogradiza za start.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/setnrgracer - Poziva igraca na startnu liniju.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgo - Otvara garazu sa NRG-ovima.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgz - Zatvara vrata sa NRG-ovima.");
SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
        return 1;
}
if(strcmp(cmdtext,"/clearchat",true)==0)
{
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
return 1;
}
if(strcmp(cmdtext,"/setnrgracer",true)==0)
{
SetPlayerCheckpoint(playerid,-1990.8082,845.3881,45.6682,50.0);
GameTextForPlayer(playerid, "Vas NRG ORGANIZATOR %s je pozvao %s na NRG start liniju!", sendersname, giveplayer);
return 1;
}
if(strcmp(cmdtext,"/nrgs",true)==0)
{
        MoveObject(gate2,-1983.659912, 845.697510, 44.980431,50.000);
return 1;
}
if(strcmp(cmdtext,"/nrgp",true)==0)
{
        MoveObject(gate2,-1983.595093, 845.671875, 42.480431,50.000);
return 1;
}
if(strcmp(cmdtext,"/nrgo",true)==0)
{
        MoveObject(gate1,-1991.581177, 884.492920, 47.201939,5);
return 1;
}
if(strcmp(cmdtext,"/nrgz",true)==0)
{
        MoveObject(gate1,-1991.512939, 884.430969, 40.476517,5);
return 1;
}
return 0;
}




ajde molim vas pomozite decki ;D




MOLIO BI DA SE PREMJESTI  TEMA U ONO DISKUSIJU KRIVO SAM POSTAO ;D
Poslednja Izmena: Jul 23, 2009, 12:40:48 POSLE PODNE od [CH]galeb

======ஜ۩۞۩ஜ======
â—,,███â–"â–' FucK oFFâ–'â–"███►
======ஜ۩۞۩ஜ======



:D Fala kurcu imamo i nekih pametnih ljudi na forumu :D

Posjetite:
TUTORIALS 4 ALL NA HRVATSKOM









new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));


C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : error 017: undefined symbol "sendersname"


[NUDIM ]
Gang-Rush server TDM besplatno


C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.



to mi dode :(

#include <a_samp>

#define FILTERSCRIPT
#define COLOR_DARKBLUE 0x0000D0FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_LIGHTBLUE 0xBBFFFFFF
#define COLOR_BLACK 0x000000FF
#if defined FILTERSCRIPT
new gate1;
new gate2;
new sendername[MAX_PLAYER_NAME];
main()
{

}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE, "Ovaj server koristi NRG race napravljen by: Galeb.");
return 1;
}
public OnFilterScriptInit()

{
print("|______________NRG race[FS]______________|");
print("|___________Created By: galeb____________|");
print("|______________(c) 2009__________________|");

CreateObject(972, -1972.061279, 890.428467, 44.200005, 0.0000, 0.0000, 0.0000);
CreateObject(972, -1972.135864, 873.428467, 44.200005, 0.0000, 0.0000, 0.0000);
CreateObject(972, -1981.157593, 907.769836, 44.200005, 0.0000, 0.0000, 270.6186);
CreateObject(972, -1976.822388, 860.274963, 44.794777, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.241699, 867.704468, 47.186672, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.290527, 874.914551, 47.173553, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.369629, 899.373230, 47.261719, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.328979, 893.421692, 47.286720, 0.0000, 0.0000, 89.3814);
gate1 = CreateObject(969, -1991.581177, 884.492920, 47.201939, 0.0000, 0.0000, 90.0000);
gate2 = CreateObject(969, -1983.659912, 845.697510, 44.980431, 0.0000, 0.0000, 90.0000);

return 1;
}
public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print(" NRG race LOADED");
}

#endif


public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/nrghelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
SendClientMessage(playerid, COLOR_DARKBLUE, "|~|~|Commands|~|~|");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrghelp - Ova komanda stvara ovo ;D.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/clearchat - Ova komanda ocisti chat.");
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgs - Igraci startaju race.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgp - Dize se ogradiza za start.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/setnrgracer - Poziva igraca na startnu liniju.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgo - Otvara garazu sa NRG-ovima.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgz - Zatvara vrata sa NRG-ovima.");
SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
        return 1;
}
if(strcmp(cmdtext,"/clearchat",true)==0)
{
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
return 1;
}
    if(strcmp(cmdtext,"/setnrgracer",true)==0)
{
SetPlayerCheckpoint(playerid,-1990.8082,845.3881,45.6682,50.0);
GameTextForPlayer(playerid, "Vas NRG ORGANIZATOR %s je pozvao %s na NRG start liniju!", sendername, giveplayer);
return 1;
}
if(strcmp(cmdtext,"/nrgs",true)==0)
{
        MoveObject(gate2,-1983.659912, 845.697510, 44.980431,50.000);
return 1;
}
if(strcmp(cmdtext,"/nrgp",true)==0)
{
        MoveObject(gate2,-1983.595093, 845.671875, 42.480431,50.000);
return 1;
}
if(strcmp(cmdtext,"/nrgo",true)==0)
{
        MoveObject(gate1,-1991.581177, 884.492920, 47.201939,5);
return 1;
}
if(strcmp(cmdtext,"/nrgz",true)==0)
{
        MoveObject(gate1,-1991.512939, 884.430969, 40.476517,5);
return 1;
}
return 0;
}

======ஜ۩۞۩ஜ======
â—,,███â–"â–' FucK oFFâ–'â–"███►
======ஜ۩۞۩ஜ======



:D Fala kurcu imamo i nekih pametnih ljudi na forumu :D

Posjetite:
TUTORIALS 4 ALL NA HRVATSKOM









zerocoolos

Citat: [CH]galeb poslato Jul 23, 2009, 13:32:32 POSLE PODNE
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.



to mi dode :(

#include <a_samp>

#define FILTERSCRIPT
#define COLOR_DARKBLUE 0x0000D0FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_LIGHTBLUE 0xBBFFFFFF
#define COLOR_BLACK 0x000000FF
#if defined FILTERSCRIPT
new gate1;
new gate2;
new sendername[MAX_PLAYER_NAME];
main()
{

}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE, "Ovaj server koristi NRG race napravljen by: Galeb.");
return 1;
}
public OnFilterScriptInit()

{
print("|______________NRG race[FS]______________|");
print("|___________Created By: galeb____________|");
print("|______________(c) 2009__________________|");

CreateObject(972, -1972.061279, 890.428467, 44.200005, 0.0000, 0.0000, 0.0000);
CreateObject(972, -1972.135864, 873.428467, 44.200005, 0.0000, 0.0000, 0.0000);
CreateObject(972, -1981.157593, 907.769836, 44.200005, 0.0000, 0.0000, 270.6186);
CreateObject(972, -1976.822388, 860.274963, 44.794777, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.241699, 867.704468, 47.186672, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.290527, 874.914551, 47.173553, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.369629, 899.373230, 47.261719, 0.0000, 0.0000, 90.2409);
CreateObject(993, -1991.328979, 893.421692, 47.286720, 0.0000, 0.0000, 89.3814);
gate1 = CreateObject(969, -1991.581177, 884.492920, 47.201939, 0.0000, 0.0000, 90.0000);
gate2 = CreateObject(969, -1983.659912, 845.697510, 44.980431, 0.0000, 0.0000, 90.0000);

return 1;
}
public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print(" NRG race LOADED");
}

#endif


public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/nrghelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
SendClientMessage(playerid, COLOR_DARKBLUE, "|~|~|Commands|~|~|");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrghelp - Ova komanda stvara ovo ;D.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/clearchat - Ova komanda ocisti chat.");
       SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgs - Igraci startaju race.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgp - Dize se ogradiza za start.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/setnrgracer - Poziva igraca na startnu liniju.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgo - Otvara garazu sa NRG-ovima.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgz - Zatvara vrata sa NRG-ovima.");
SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
       return 1;
}
if(strcmp(cmdtext,"/clearchat",true)==0)
{
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
return 1;
}
   if(strcmp(cmdtext,"/setnrgracer",true)==0)
{
SetPlayerCheckpoint(playerid,-1990.8082,845.3881,45.6682,50.0);
[b]GameTextForPlayer(playerid, "Vas NRG ORGANIZATOR %s je pozvao %s na NRG start liniju!", sendername, giveplayer);[/b]
return 1;
}
if(strcmp(cmdtext,"/nrgs",true)==0)
{
       MoveObject(gate2,-1983.659912, 845.697510, 44.980431,50.000);
return 1;
}
if(strcmp(cmdtext,"/nrgp",true)==0)
{
       MoveObject(gate2,-1983.595093, 845.671875, 42.480431,50.000);
return 1;
}
if(strcmp(cmdtext,"/nrgo",true)==0)
{
       MoveObject(gate1,-1991.581177, 884.492920, 47.201939,5);
return 1;
}
if(strcmp(cmdtext,"/nrgz",true)==0)
{
       MoveObject(gate1,-1991.512939, 884.430969, 40.476517,5);
return 1;
}
return 0;
}

umjesto ovoga
GameTextForPlayer(playerid, "Vas NRG ORGANIZATOR %s je pozvao %s na NRG start liniju!", sendername, giveplayer);
(ne mozes tako gametext ispisat, njegova je definicija (playerid, text, vrijeme pojavljivanja, stil) a ne playerid, string kako si ti napisao)

pisi ovo:
new playa;
GetPlayerName(playa,giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string),"Vas NRG ORGANIZATOR %s je pozvao %s na NRG start liniju!", sendername, giveplayer);
GameTextForPlayer(playerid,string, duzina pojavljivanja texta, stil texta);

Poslednja Izmena: Jul 23, 2009, 13:44:29 POSLE PODNE od zerocoolos

    if(strcmp(cmdtext,"/setnrgracer",true)==0)
{
SetPlayerCheckpoint(playerid,-1990.8082,845.3881,45.6682,50.0);
GetPlayerName(playa,giveplayer, sizeof(giveplayer));
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string),"Vas NRG ORGANIZATOR %s je pozvao %s na NRG start liniju!", sendername, giveplayer);
        GameTextForPlayer(playerid,string, duzina pojavljivanja texta, stil texta);
return 1;
}



evo errora ;D


C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : error 017: undefined symbol "playa"
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : error 017: undefined symbol "giveplayer"
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : error 029: invalid expression, assumed zero
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : fatal error 107: too many error messages on one line

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


4 Errors.

======ஜ۩۞۩ஜ======
â—,,███â–"â–' FucK oFFâ–'â–"███►
======ஜ۩۞۩ஜ======



:D Fala kurcu imamo i nekih pametnih ljudi na forumu :D

Posjetite:
TUTORIALS 4 ALL NA HRVATSKOM









zerocoolos

Citat: [CH]galeb poslato Jul 23, 2009, 13:47:48 POSLE PODNE
    if(strcmp(cmdtext,"/setnrgracer",true)==0)
{
SetPlayerCheckpoint(playerid,-1990.8082,845.3881,45.6682,50.0);
GetPlayerName(playa,giveplayer, sizeof(giveplayer));
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string),"Vas NRG ORGANIZATOR %s je pozvao %s na NRG start liniju!", sendername, giveplayer);
        GameTextForPlayer(playerid,string, duzina pojavljivanja texta, stil texta);
return 1;
}

pa napisao sam ti gore new playa; - zaboravio si to kopirat....

evo errora ;D


C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : error 017: undefined symbol "playa"
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : error 017: undefined symbol "giveplayer"
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : error 029: invalid expression, assumed zero
C:\Documents and Settings\doma\Desktop\kucni server\filterscripts\nrgrace1.pwn(89) : fatal error 107: too many error messages on one line

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


4 Errors.


evo ga sredio sam sve panda mi je pomogao ;D

======ஜ۩۞۩ஜ======
â—,,███â–"â–' FucK oFFâ–'â–"███►
======ஜ۩۞۩ஜ======



:D Fala kurcu imamo i nekih pametnih ljudi na forumu :D

Posjetite:
TUTORIALS 4 ALL NA HRVATSKOM









//---------------------------------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, -1979.0359,921.5753,45.2969, 10.0); }
else if(CP[playerid] == 309) { CP[playerid] = 309; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2001.6895,886.9785,45.2969, 10.0); }
else if(CP[playerid] == 310)
{
    CP[playerid] = 0;
    DisablePlayerCheckpoint(playerid);
    GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "Organizator : %s je upravo zavrsio Utrku. ", name);
SendClientMessageToAll(COLOR_LIGHTRED, string);
    }



nezeli mi zavrsiti race .(

======ஜ۩۞۩ஜ======
â—,,███â–"â–' FucK oFFâ–'â–"███►
======ஜ۩۞۩ஜ======



:D Fala kurcu imamo i nekih pametnih ljudi na forumu :D

Posjetite:
TUTORIALS 4 ALL NA HRVATSKOM