Skripta koju koristim: CLRP
Detaljan opis problema: Ma jkako edit CLRP mod onda sam uzeja iz jednog GM! Ovo: SLika: http://ch-slike.com/?v=d6TDx.png
Dio skripte: Ovo sam uzeja iz drugog moda stavija u moj!
{
new string[768];
PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];
if(IsPlayerNPC(playerid))
{
SpawnPlayer(playerid);
return 1;
}
if (RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1)
{
ClearChatbox(playerid, 8);
format(string, sizeof(string), "Uvijeti koristenja", Version);
SendClientMessage(playerid, COLOR_YELLOW, string);
SendClientMessage(playerid, COLOR_YELLOW2, "Balkan Gaming/RP Uvijeti i Pravila ");
new message[] = " \n\n\nSlazete li se da u sljedecim uvijetima koristenja i pravilim anaseg servera\nkoja su navedena u doljem textu, koja se mogu mjenjati, a obavijest o izmjenama cete dobiti na serveru i forumu?\n\nUvijeti koristenja:\nNick mora biti u formatu Ime_Prezimei mora biti realan\nObavezni ste postovati druge igrace na serveru, kao sto su i oni obavezni\n\nPrivatnost vasih podataka:\nBalkan Gaming nikad nece odat podatke iz vaseg korisnickog racuna.";
new message2[] = "\nZabranjene stvar na serveru:\nKoristenje modova koji vam donose prednost nad drugim igracima (cheat modovi)\nIskoristavanje bugova na serveru (bugabuse)\n\nPrestanak koristenja racuna na Balkan Gaming RP:\nBalkan Gaming zadrzava pravo uklanjanja racuna igraca ukoliko se on ne pridrzava pravila!!.";
format(string, sizeof(string),"%s %s",message,message2);
ShowPlayerDialog(playerid, 1244, DIALOG_STYLE_MSGBOX,"Balkan Gaming/RP Uvijeti i Pravila",string,"Slazem se","Izadji");
SetPlayerCameraPos(playerid, 1502.4711,-1311.8525,63.8280);
SetPlayerCameraLookAt(playerid, 1502.4721,-1311.8525,63.8280);
//PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];
SetPlayerTeamFromClass(playerid,classid);
}
else
{
SpawnPlayer(playerid);
}
return false;
}
A izbaci mi ERRORE:
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11033) : error 017: undefined symbol "Version"
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11052) : error 055: start of function body without function header
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11056) : error 010: invalid function or declaration
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11058) : warning 218: old style prototypes used with optional semicolumns
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11059) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11061) : error 010: invalid function or declaration
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11065) : error 021: symbol already defined: "GetPlayerName"
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11070) : error 010: invalid function or declaration
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11075) : error 021: symbol already defined: "GetPlayerName"
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11082) : warning 218: old style prototypes used with optional semicolumns
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11083) : error 054: unmatched closing brace ("}")
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11084) : error 010: invalid function or declaration
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11085) : error 010: invalid function or declaration
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11327) : warning 219: local variable "loginname" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(11328) : warning 219: local variable "loginstring" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(15620) : warning 219: local variable "loginstring" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(15621) : warning 219: local variable "loginname" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(15962) : warning 219: local variable "loginstring" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(15963) : warning 219: local variable "loginname" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(25936) : warning 219: local variable "loginstring" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(25937) : warning 219: local variable "loginname" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(25965) : warning 219: local variable "regstring" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(25966) : warning 219: local variable "regname" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(63487) : warning 203: symbol is never used: "loginname"
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(63487) : warning 203: symbol is never used: "loginstring"
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(63487) : warning 203: symbol is never used: "regname"
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(63487) : warning 203: symbol is never used: "regstring"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
11 Errors.
CitatA
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Pa ne možeÅ¡ samo iskopirati neÅ¡to i oÄekivati da neće biti errora/warninga , moraÅ¡ optimizirati taj kod sa skriptom a ne samo bacit u skriptu.
Sta triba dodat?
Pogledaj Å¡to sam napisao optimizirati , znaÄi pogledati koje errore dobivaÅ¡ , imaÅ¡ li dovoljan broj otvorenih i zatvorenih zagrada etc. Neću ti ja sad cijeli kod pregledavat i rijeÅ¡avat sve errore.
Jeli tebi ko reka da ti rjesavas? NIKO Na drugi mi je GM radilo na ovi mi ne radi :S
Pa neradi ti na CL.. a na drugim radim ko sto su united gta BN,NX..
jel takO?,Napravis sam sebi Uvjeti Pravila i Koriscenja..Malo skratis..
i morat ce da radi jer ovde si samo bubno a linije ne gledas kolko ima :).. ak ti ne bude radilo postaj ovde ili mi na PM!
Sa te skripte ukucaj eror koji ti stoji lociraj i kopiraj ako je pod "new" ili "forward" i onda ce ti teti 100% .
Citat: [BL-RP]James_Bounty aka administrator poslato Januar 08, 2012, 01:25:33 PRE PODNE
Pa neradi ti na CL.. a na drugim radim ko sto su united gta BN,NX..
jel takO?,Napravis sam sebi Uvjeti Pravila i Koriscenja..Malo skratis..
i morat ce da radi jer ovde si samo bubno a linije ne gledas kolko ima :).. ak ti ne bude radilo postaj ovde ili mi na PM!
Zasto na drugima radi a ovdje ne radi?