Problem(error/warning):RandomSPOruke
Dio skripte: [ pawn ]Moze neko da mi posalje kako da uradim sistem za RandomSPoruke?Radim mod od 0,probao sam svoje ali nece,probao sam sa UP isto nece.[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike
RandomSPoruke
1,497
pregleda
16
postova
10. Jan. 2019.
https://forum.sa-mp.com/showthread.php?t=375921
https://forum.sa-mp.com/showthread.php?t=329171
https://forum.sa-mp.com/showthread.php?t=329171
10. Jan. 2019.
Vidi se da decko uci, nemojte ga obeshrabrivati , cemu sluzi ovaj forum a vi mu pricate da se kane radjenja moda od 0, pomognite coveku objasnite mu a ne tako .
Postaj kod da vidimo sta ti je sjebano, nemoj odma pricati kako ti je nesto sjebano, i da zahvaljuljes ljudima koji ti hoce pomoci da im kazes da je sjebano, jer on ti je to poslao samo link a ti si taj koji je ubacio to, postuj osobe koje zele pomoci , da bi ti neko pomogao .
Postaj to da vidimo sta je problem.
Postaj kod da vidimo sta ti je sjebano, nemoj odma pricati kako ti je nesto sjebano, i da zahvaljuljes ljudima koji ti hoce pomoci da im kazes da je sjebano, jer on ti je to poslao samo link a ti si taj koji je ubacio to, postuj osobe koje zele pomoci , da bi ti neko pomogao .
Postaj to da vidimo sta je problem.
11. Jan. 2019.
i ja sam poceo od 0 i jednom se imao isto warninge za ysi name i nisam mogao da ih resim i ja kazem necu vise kad probam da promenim new name u new nname i sve se fixa naprimer Samo ne odustaj a ostavi kod
11. Jan. 2019.
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\pawno\include\YSI\..\YSI_Core\y_utils.inc(297) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\pawno\include\YSI\..\YSI_Core\y_utils.inc(317) : error 017: undefined symbol "_y_utils_OnPlayerDisconnect"
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\pawno\include\YSI\..\YSI_Core\y_utils.inc(427) : warning 201: redefinition of constant/macro (symbol "isnull(%0)")
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(524) : warning 217: loose indentation
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(524) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(524) : error 004: function "_y_utils_OnPlayerDisconnect" is not implemented
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(529) : warning 225: unreachable code
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(529) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(529) : error 004: function "OnPlayerSpawn" is not implemented
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(583) : warning 225: unreachable code
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(583) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(583) : error 004: function "OnPlayerDeath" is not implemented
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(588) : warning 225: unreachable code
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(588) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(588) : error 004: function "OnVehicleSpawn" is not implemented
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(593) : warning 225: unreachable code
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(593) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(593) : error 004: function "OnVehicleDeath" is not implemented
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(598) : warning 225: unreachable code
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(598) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(598) : error 004: function "OnPlayerText" is not implemented
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(603) : warning 225: unreachable code
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(603) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(603) : error 004: function "zcmd_OnPlayerCommandText" is not implemented
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(605) : error 017: undefined symbol "cmdtext"
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(614) : warning 225: unreachable code
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(614) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(614) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(619) : warning 225: unreachable code
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(619) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(619) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(624) : warning 225: unreachable code
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(624) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(624) : error 004: function "OnPlayerStateChange" is not implemented
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(629) : warning 225: unreachable code
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(629) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(629) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(634) : warning 225: unreachable code
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(634) : error 029: invalid expression, assumed zero
C:\Users\Korisnik\Downloads\UBalkan v1.0.0\gamemodes\UBalkan.pwn(634) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Izbacuje mi errore za npr OnPlayerLeaveCkeckpoint,a ja nista tu nisam dirao.
11. Jan. 2019.
Deken wrote on January 11, 2019, 5:52 pm:
imas zagrada } viska ili manjka mozda nemas return ili nemas ; daj te linije sto daju errore
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
/////////////////////////////////
public OnPlayerSpawn(playerid)
{
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
SetPlayerSkin(playerid, 29);
GivePlayerMoney(playerid, 15000);
SetPlayerScore(playerid, 1);
SetPlayerPos(playerid, 1441.392,-2286.703,13.523);
SetPlayerInterior(playerid, 0);
return 1;
}
///////////////////////////////////////////
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
//////////////////////////////////////////////
Da ne pisem sve,ima error za skoro sve public-e,a svaki ima return 1;
11. Jan. 2019.
Probaj sad mda ja ovakve errore nisam nikad fix-ao kad sam ih imo nisam imo zivaca fixat
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
//----------------------------------------------------------------------------//
public OnPlayerSpawn(playerid)
{
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
//--------------------------------------------//
SetPlayerSkin(playerid, 29);
GivePlayerMoney(playerid, 15000);
SetPlayerScore(playerid, 1);
SetPlayerPos(playerid, 1441.392,-2286.703,13.523);
SetPlayerInterior(playerid, 0);
return 1;
}
//----------------------------------------------------------------------------//
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
//----------------------------------------------------------------------------//
public OnPlayerSpawn(playerid)
{
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawHideForPlayer(playerid,LoginTD_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
//--------------------------------------------//
SetPlayerSkin(playerid, 29);
GivePlayerMoney(playerid, 15000);
SetPlayerScore(playerid, 1);
SetPlayerPos(playerid, 1441.392,-2286.703,13.523);
SetPlayerInterior(playerid, 0);
return 1;
}
//----------------------------------------------------------------------------//
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava
