Jump to content

Question

Posted

Salutare , sunt nou in domeniul scripting`ului , si am inceput cu un gamemode de pe net .

Nu am modificat absolut nimic la el , doar l`am deschis cu pawno si cand vreau sa`l compilez imi da urmatoarea erroare:

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(22) : fatal error 100: cannot read from file: "progress"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

M`am uitat in pawno->include , si sunt toate .inc`urile necesare acolo ... nu inteleg de ce nu merge :| .

Recommended Posts

Posted

ai nevoie de include-ul progress pe care il downloadezi de pe net, il pui in folderul pawno/include si o sa mearga!

EDIT: Acum am vazut... - daca il ai e imposibil sa nu iti mearga

Posted

ai nevoie de include-ul progress pe care il downloadezi de pe net, il pui in folderul pawno/include si o sa mearga!

A zis ca-l are.

Sterge toate folderele pawno din PC, si lasa-l doar pe cel din folderul C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone. Sau du-te in C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\Pawno, deschide pawno.exe, da pe File > Open si deschide GM-ul tau, apoi apasa F5.

Asta e din cauza ca ai mai multe foldere pawno in PC, de fapt, ca nu-l deschizi cu care trebuie.

Posted

stuntman[]!" post="98731" timestamp="1320497577"]

A zis ca-l are.

Sterge toate folderele pawno din PC, si lasa-l doar pe cel din folderul C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone. Sau du-te in C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\Pawno, deschide pawno.exe, da pe File > Open si deschide GM-ul tau, apoi apasa F5.

Asta e din cauza ca ai mai multe foldere pawno in PC, de fapt, ca nu-l deschizi cu care trebuie.

Asa am facut , si acum au aparut alte errori :

C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn(1218) : error 001: expected token: ";", but found "-identifier-"

C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn(1218) : error 010: invalid function or declaration

C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn(10989) : warning 209: function "JB_OnPlayerConnect" should return a value

C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn(64219) : warning 215: expression has no effect

C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn(64219) : error 001: expected token: ";", but found "-identifier-"

C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn(64219) : error 017: undefined symbol "GF"

C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn(64219) : warning 215: expression has no effect

C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn(64220) : error 001: expected token: ")", but found "-identifier-"

C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn(64220) : error 017: undefined symbol "GF"

C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn(64220) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn(64220) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

8 Errors.

Posted

Care linii ? (sunt incepator ....)

Liniile care apar dupa C:\Documents and Settings\Dea7hAnGeL\Desktop\Zonek\gamemodes\Teddy23.pwn, prima e 1218, a 2-a 10989, a 3-a 64219 si a 4-a 64220, pune si cate linii din jurul lor.

PS: Updateaza-ti JunkBuster.

Posted

Liniile:

1218: new BestOne GF;

10989: }

640219: BestOne GF++;

640220: if(BestOne GF == 1)

Link la gamemode , daca poate cineva sa`l compileze raman dator :D

=> <removed>

Schimba BestOne GF in BestOne_GF ( cu _ ).
Posted

Am modificat , si au aparut altele acum :

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(10989) : warning 209: function "JB_OnPlayerConnect" should return a value

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(64220) : error 017: undefined symbol "BestOne"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(64220) : error 017: undefined symbol "GF"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(64220) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(64220) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

Posted

La prima nu e nici o problema, dar mai bine baga-ti ultima versiune de JunkBuster: http://forum.sa-mp.com/showthread.php?t=71877

De la linia 64220 schimba BestOne GF cu BestOne_GF.

Posted

stuntman[]!" post="98746" timestamp="1320501439"]

La prima nu e nici o problema, dar mai bine baga-ti ultima versiune de JunkBuster: http://forum.sa-mp.com/showthread.php?t=71877

De la linia 64220 schimba BestOne GF cu BestOne_GF.

Am modificat toate liniile din BestOne GF in BestOne_GF , am bagat si JunkBuster`ul si acum :

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(68) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney")

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(71) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney")

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(72) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(73) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle")

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(74) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(75) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(76) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos")

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(2994) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(3025) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(3066) : error 017: undefined symbol "JB_GivePlayerWeapon"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(3097) : error 017: undefined symbol "JB_SetPlayerPos"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(4823) : error 017: undefined symbol "JB_GetPlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(4820) : warning 203: symbol is never used: "playerid"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(5643) : error 017: undefined symbol "JB_SetPlayerPos"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(5720) : error 017: undefined symbol "JB_SetPlayerPos"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(5730) : error 017: undefined symbol "JB_SetPlayerPos"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(5740) : error 017: undefined symbol "JB_SetPlayerPos"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(6730) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(6855) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(6861) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(6867) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(6873) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(6879) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(6943) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(6949) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(6955) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(6961) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(6967) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(7252) : error 017: undefined symbol "JB_GetPlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(7257) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(7288) : error 017: undefined symbol "JB_GivePlayerMoney"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(7342) : error 017: undefined symbol "JB_SetPlayerPos"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(7352) : error 017: undefined symbol "JB_SetPlayerPos"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(7359) : error 017: undefined symbol "JB_SetPlayerPos"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

26 Errors.

Posted

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(10982) : warning 209: function "Itter_OnPlayerConnect" should return a value

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(47806) : error 017: undefined symbol "RED"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(47807) : error 017: undefined symbol "GREEN"

C:\Documents and Settings\Dea7hAnGeL\Desktop\GM Xtr-Zone\gamemodes\Teddy23.pwn(64684) : warning 217: loose indentation

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Errors.

Posted

trebuie sa definesti culorile RED si GREEN

[pawn]

#define RED            0xFF0000FF

#define GREEN 0x008000FF

[/pawn]

communitylogosml.png

94.23.120.101:7778

Posted

Au aparut alte probleme acum :

Cand intru pe server ma da in SF , acolo unde este corabia aia pe apa .

Cum fac sa ma dea din nou in LS la Spawn Civil ?

vezi la Public SetPlayerSpawn, tre sa ai ceva de genul

if(PlayerInfo[playerid][pOrigin] == 1 (apoi 2 apoi 3 sau cate origini ai tu pe server)
SetPlayerPos(playerid....si modifici coordonatele de aici 

faci asa pentru origin 1, origin 2, origin 3 si origin 4 sau cate ai...

Posted

Scuzati dublu post , acum imi da 2 warnings:

C:\Documents and Settings\Dea7hAnGeL\Desktop\XGaming Samp\gamemodes\XGaming.pwn(10982) : warning 209: function "Itter_OnPlayerConnect" should return a value

C:\Documents and Settings\Dea7hAnGeL\Desktop\XGaming Samp\gamemodes\XGaming.pwn(64684) : warning 217: loose indentation

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          13336 bytes

Code size:          3710764 bytes

Data size:        12364456 bytes

Stack/heap size:      16384 bytes; estimated max. usage=7345 cells (29380 bytes)

Total requirements:16104940 bytes

2 Warnings.

Posted

function "Itter_OnPlayerConnect" should return a value

Acceasi problema o am si eu.

Cand caut Itter_OnPlayerConnect,nu imi gaseste nimic.

Trebuie sa caut linia respectiva si cand caut uite ce am :

[pawn]ClearGroceries(playerid);

ClearMarriage(playerid);

    PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);

SetPlayerColor(playerid,COLOR_GRAD2);

new plname[MAX_PLAYER_NAME];

new string[MAX_PLAYER_NAME];

GetPlayerName(playerid, plname, sizeof(plname));

format(string, sizeof(string), "Users/%s.ini", plname);

if(fexist(string))

{

gPlayerAccount[playerid] = 1;

}

else

{

gPlayerAccount[playerid] = 0;

}

//-------------------------------------------

new pnamee[24];

GetPlayerName(playerid, pnamee, sizeof(pnamee));

Nume[playerid] = TextDrawCreate(46.000000, 321.000000,pnamee);

TextDrawBackgroundColor(Nume[playerid], 392751048);

TextDrawFont(Nume[playerid], 1);

TextDrawLetterSize(Nume[playerid], 0.589999, 1.800000);

TextDrawColor(Nume[playerid], -1);

TextDrawSetOutline(Nume[playerid], 1);

TextDrawSetProportional(Nume[playerid], 1);

TextDrawShowForPlayer(playerid,Nume[playerid]);

    }[/pawn]

8vzsrd5t8btzshztdhkc.png

www.play-gaming.ro/forum

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.