Jump to content
  • 0

PROBLEMA URGENTA SV RP !


stefanutzu14

Question

SALUT ! AM UN SERVER RP ! AM SCRIPTAT LA EL DIN GREU...DAR NU REUSESC SA REZOLV O PROBLEMA !

CAND DAU LIDER LA O FACTIUNE/IAU CASA ETC ! MA DA UNDE AM RAMAS ULTIMA OARA CA UN CRASH .

DAR ASA SE INTAMPLA MEREU..SI AM GASIT IN GM CHESTIA ASTA..CARE SIGUR SE REFERA LA CRASH-UL PROPRIU ZIS..VREAU CA ATUNCI CAND IMI IAU O CASA / LIDER FACTIUNE SA MA DEA LA FACTIUNE/CASA ..NU UNDE AM FOST ...UITATI AICI ...VA ROG FRUMOS AJUTATI-MA !

/

/ Reset the FirstSpawn variable

SetTimerEx("UnsetFirstSpawn", 5000, false, "i", playerid);

// Unset Crash

SetTimerEx("UnsetCrash", 5000, false, "i", playerid);

SetSpawnInfo(playerid, PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1);

if(gTeam[playerid] == 0)

{

gTeam[playerid] = 3;

}

else

{

gTeam[playerid] = PlayerInfo[playerid][pTeam];

}

gPlayerLogged[playerid] = 1;

SpawnPlayer(playerid);

if(PlayerInfo[playerid][pCrashed] == 1)

{

format(tmp2, sizeof(tmp2), "~y~Returning back to your old location..~y~", playername2);

}

else

{

    format(tmp2, sizeof(tmp2), "~y~Returning back to your old location..~y~");

}

94.176.96.37:7778 -->>> Server Role-Play !

add [email protected] pentru detalii !

Caut om cu playeri !

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

nu imi da don't send...uite cum arata dupa compliare ..

E:\SAMP\GMBUN\NLRP12.pwn(47283) : warning 203: symbol is never used: "gCopPlayerSpawns"

E:\SAMP\GMBUN\NLRP12.pwn(47283) : warning 203: symbol is never used: "gMedPlayerSpawns"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          9188 bytes

Code size:          1927028 bytes

Data size:        10442164 bytes

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

Total requirements:12394764 bytes

2 Warnings.

94.176.96.37:7778 -->>> Server Role-Play !

add [email protected] pentru detalii !

Caut om cu playeri !

Link to comment
Share on other sites

new Float:gCopPlayerSpawns[2][3] = {

{216.9725,79.1339,1005.0391},

{219.8852,75.5487,1005.0391}

//{614.8,-608.2,17.2},

//{611.5,-607.8,17.2}

};

new Float:gMedPlayerSpawns[2][3] = {

{1178.1,-1321.0,14.1},

{1177.7,-1325.0,14.0}

};

daca le definesc imi da 500 de erori =)) definestele tu poate ai mai mult noroc :D

94.176.96.37:7778 -->>> Server Role-Play !

add [email protected] pentru detalii !

Caut om cu playeri !

Link to comment
Share on other sites

incearca asa :

a doua. [pawn]new Float:gMedPlayerSpawns[2][3] = {

{1178.1,-1321.0,14.1},

{1177.7,-1325.0,14.0}

};

[/pawn]

prima [pawn]new Float:gCopPlayerSpawns[2][3] = {

{216.9725,79.1339,1005.0391},

{219.8852,75.5487,1005.0391}

{614.8,-608.2,17.2},

{611.5,-607.8,17.2}

};[/pawn] nu stiu daca este ceva schimbat dar incearca sa le schimbi si vezi...

I'm back haha !

Link to comment
Share on other sites

[pawn]E:\GMBUN\NLRP12.pwn(866) : error 055: start of function body without function header

E:\GMBUN\NLRP12.pwn(868) : error 010: invalid function or declaration

E:\GMBUN\NLRP12.pwn(47283) : warning 203: symbol is never used: "gCopPlayerSpawns"

E:\GMBUN\NLRP12.pwn(47283) : warning 203: symbol is never used: "gMedPlayerSpawns"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Errors.

[/pawn]

94.176.96.37:7778 -->>> Server Role-Play !

add [email protected] pentru detalii !

Caut om cu playeri !

Link to comment
Share on other sites

la mine in gm [pawn]new Float:gMedPlayerSpawns[2][3] = {

{1178.1,-1321.0,14.1},

{1177.7,-1325.0,14.0}

};[/pawn] este pun intre /* si */ ia pune-l si tu si vezi ce se intampla.

[pawn]/*new Float:gMedPlayerSpawns[2][3] = {

{1178.1,-1321.0,14.1},

{1177.7,-1325.0,14.0}

};*/[/pawn]

I'm back haha !

Link to comment
Share on other sites

[pawn]E:\GMBUN\NLRP12.pwn(4311) : error 017: undefined symbol "gMedPlayerSpawns"

E:\GMBUN\NLRP12.pwn(4311) : error 029: invalid expression, assumed zero

E:\GMBUN\NLRP12.pwn(4311) : warning 215: expression has no effect

E:\GMBUN\NLRP12.pwn(47283) : warning 203: symbol is never used: "gCopPlayerSpawns"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Errors.

[/pawn]

Uitate la Locatie la mine te rog si haide sa discutam acolo :D

94.176.96.37:7778 -->>> Server Role-Play !

add [email protected] pentru detalii !

Caut om cu playeri !

Link to comment
Share on other sites

am rezolvat cu

[pawn]Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          9188 bytes

Code size:          1926984 bytes

Data size:        10442104 bytes

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

Total requirements:12394660 bytes[/pawn]

A mai ramas problema cu spawn-u.....Cum fac sa ma dea la factiuni nu in ultimul loc in care am ramas...pls help :D

94.176.96.37:7778 -->>> Server Role-Play !

add [email protected] pentru detalii !

Caut om cu playeri !

Link to comment
Share on other sites

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.