Zaključano
"Trebam nešto" - tema
144,513
pregleda
1,349
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
pre 14 godina
Trazim bm_moneytd.inc imam veliki problem sa tim kada zavrsim skriptu pritisnem F5 izbacimi 9 erora
kada ga izbrisem izbacimi samo 1 eror ako mi moze neko reci zbog cega to
C:\Users\Administrator\Desktop\NIKOLA\MR v4.0 SRB\pawno\include\bm_moneytd.inc(48) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")
C:\BSF.pwn(6660) : warning 235: public function lacks forward declaration (symbol "JB_OnPlayerEnterRaceCheckpoint")
C:\BSF.pwn(15942) : error 025: function heading differs from prototype
C:\BSF.pwn(15943) : error 021: symbol already defined: "strtok"
C:\BSF.pwn(15958) : error 047: array sizes do not match, or destination array is too small
C:\BSF.pwn(25118) : error 047: array sizes do not match, or destination array is too small
C:\BSF.pwn(25156) : error 047: array sizes do not match, or destination array is too small
C:\BSF.pwn(25194) : error 047: array sizes do not match, or destination array is too small
C:\BSF.pwn(26533) : error 047: array sizes do not match, or destination array is too small
C:\BSF.pwn(28394) : warning 219: local variable "mod" shadows a variable at a preceding level
C:\BSF.pwn(30819) : error 017: undefined symbol "JB_GivePlayerMoney"
C:\BSF.pwn(30863) : error 017: undefined symbol "JB_GetPlayerMoney"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
9 Errors.kada ga izbrisem izbacimi samo 1 eror ako mi moze neko reci zbog cega to
C:\BSF.pwn(19) : fatal error 100: cannot read from file: "bm_moneytd"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
pre 14 godina
isk0 wrote on January 13, 2012, 11:17 am:
Trebam komandu /spec i /endspec koja nije u zcmd!
definisi
new Spectate;
Pod OnPlayerConnect
Spectate = 255;
if(strcmp(cmd, "/recon", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo < 0 && PlayerInfo < 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "Niste admin ili GameMaster!");
return 1;
}
if(Spectate == 255)
{
GetPlayerPos(playerid, Unspec, Unspec, Unspec);
Unspec = PlayerInfo;
Unspec = PlayerInfo;
PlayerInfo = 255;
gTeam = 0;
}
tmp = strtok(cmdtext, idx);
if(strcmp("off", tmp, true, strlen(tmp)) == 0)
{
Spectate = 253;
GameTextForPlayer(playerid, "~w~ Recon~n~~r~ Ugasen", 5000, 6);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
Spectate = giveplayerid;
new Float:health;
GetPlayerHealth(Spectate, health);
GetPlayerName(Spectate, giveplayer, sizeof(giveplayer));
new cash = GetPlayerMoney(Spectate);
format(string, sizeof(string), "Recon: (%d) %s $%d H:%.0f",Spectate,giveplayer,cash,health);
SendClientMessage(playerid, COLOR_GREEN, string);
}
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Meta nije dostupna.");
}
}
return 1;
}Mislim da je to to.. ovo sam uzo iz neke stare scripte koju sam editao... ako nesto nije OK posalji mi PM
pre 14 godina
Moze li mi neko dati Tutorial ili FS za onaj Tutorial sto se Prikazuje Nakon Registracije?
Hvala
Hvala
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava