Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Bok poslato Jun 22, 2009, 18:37:58 POSLE PODNE

Naslov: Wtf ovo znaci???? xD
Poruka od: Bok poslato Jun 22, 2009, 18:37:58 POSLE PODNE
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1593) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1618) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1709) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1713) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1725) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1729) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1733) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1737) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1741) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1745) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1749) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1761) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1765) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1769) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1773) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1777) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1789) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1793) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1797) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1809) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1813) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(1817) : error 004: function "PlayerToPoint" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(2076) : error 004: function "SendIRCMessage" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(2098) : error 004: function "SendIRCMessage" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(2110) : error 004: function "SaveCK" is not implemented
D:\Filip\Skriptanje\samp02Xserver.win32\gamemodes\WC-RP.pwn(2140) : error 004: function "SavePapers" is not implemented
Naslov: Odg: Wtf ovo znaci???? xD
Poruka od: r4z0r poslato Jun 22, 2009, 19:01:06 POSLE PODNE
Nije ti definiran PlayerToPoint valjda ..

Unesi ovo na kraj scripte :

public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
tempposx = (oldposx -x);
tempposy = (oldposy -y);
tempposz = (oldposz -z);
//printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
return 1;
}
return 0;
}
Naslov: Odg: Wtf ovo znaci???? xD
Poruka od: Bok poslato Jun 22, 2009, 19:17:51 POSLE PODNE
ma evo rijesio sam nekak xD
Naslov: Odg: Wtf ovo znaci???? xD
Poruka od: zerocoolos poslato Jun 22, 2009, 20:07:34 POSLE PODNE
to ti znači da kada si pravio neku provjeru s playertoponint npr:

if (PlayerToPoint(3, i,219.5583,24.8641,2.5781)
{                          <-----------------------------------otvorio si sto da radi

nesto


}  <------------------------E A ONDA SI ZABORAVIO OVO DODAT...


zato ti izbaci toliko gresaka...
Naslov: Odg: Wtf ovo znaci???? xD
Poruka od: Bok poslato Jun 22, 2009, 21:43:00 POSLE PODNE
Citat: zerocoolos poslato Jun 22, 2009, 20:07:34 POSLE PODNE
to ti znači da kada si pravio neku provjeru s playertoponint npr:

if (PlayerToPoint(3, i,219.5583,24.8641,2.5781)
{                          <-----------------------------------otvorio si sto da radi

nesto


}  <------------------------E A ONDA SI ZABORAVIO OVO DODAT...


zato ti izbaci toliko gresaka...

U pravu si xD