if (PlayerInfo == 10 || PlayerInfo == 10) //Hitman spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 262,1129.1837,-1489.2147,22.7690,359.153😎;
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
return 1;
AddPlayerClass(262,1129.1837,-1489.2147,22.7690,359.1538,0,0,0,0,0,0); // - uso sam na server kuco sam /save da se spawna lik ali neznam kako ubacit u SetPlayerPos neznam koji kordinate :S
http://slike.hr/slike/1_abdb1.png.html
pomozite :D
1,856
pregleda
10
postova
10. Sep. 2009.
if (PlayerInfo == 10 || PlayerInfo == 10) //Hitman spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, ovde ide samo x,y,z);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
return 1;Iz ovoga:
AddPlayerClass(262,1129.1837,-1489.2147,22.7690,359.1538,0,0,0,0,0,0); //a i iz svih ostalih kao sto je AddStaticVehicle x,y i z su ti brojevi 2,3,4 po redu.
U ovom slucaju su to ovi:
x
1129.1837y
-1489.2147z
22.7690Eto Nadam se da sam ti pomogao
10. Sep. 2009.
SetPlayerPos(playerid,Float:x,Float:y,Float:z)
a AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
i sad malo pogleadj svoj AddPlayerClass znaci - 1129.1837,-1489.2147,22.7690
KORISTI SAMP WIKI ! U 2 KLIKA SAM TI OBJASNIO SVE !
a AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
i sad malo pogleadj svoj AddPlayerClass znaci - 1129.1837,-1489.2147,22.7690
KORISTI SAMP WIKI ! U 2 KLIKA SAM TI OBJASNIO SVE !
10. Sep. 2009.
if (PlayerInfo == 10 || PlayerInfo == 10) //Hitman spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, ovde ide samo x,y,z); 1129.1837-1489.2147.22.7690
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
return 1;
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6124) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6127) : error 021: symbol already defined: "SetPlayerPos"
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6130) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17616) : warning 217: loose indentation
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17645) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, ovde ide samo x,y,z); 1129.1837-1489.2147.22.7690
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
return 1;
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6124) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6127) : error 021: symbol already defined: "SetPlayerPos"
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6130) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17616) : warning 217: loose indentation
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17645) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
10. Sep. 2009.
0skar_Zlo wrote on September 10, 2009, 8:38 am:
if (PlayerInfo == 10 || PlayerInfo == 10) //Hitman spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, ovde ide samo x,y,z); 1129.1837-1489.2147.22.7690
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
return 1;
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6124) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6127) : error 021: symbol already defined: "SetPlayerPos"
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6130) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17616) : warning 217: loose indentation
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17645) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, ovde ide samo x,y,z); 1129.1837-1489.2147.22.7690
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
return 1;
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6124) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6127) : error 021: symbol already defined: "SetPlayerPos"
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6130) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17616) : warning 217: loose indentation
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17645) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
neces pisat "ovde ide samo x,y,z"
umjesto toga ide ovo
1129.1837-1489.2147.22.7690A to bi ti izgledalo ovako:
if (PlayerInfo == 10 || PlayerInfo == 10) //Hitman spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1129.1837-1489.2147.22.7690);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
return 1;10. Sep. 2009.
sorfa wrote on September 10, 2009, 8:38 am:
if (PlayerInfo == 10 || PlayerInfo == 10) //Hitman spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, ovde ide samo x,y,z); 1129.1837-1489.2147.22.7690
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
return 1;
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6124) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6127) : error 021: symbol already defined: "SetPlayerPos"
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6130) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17616) : warning 217: loose indentation
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17645) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, ovde ide samo x,y,z); 1129.1837-1489.2147.22.7690
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
return 1;
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6124) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6127) : error 021: symbol already defined: "SetPlayerPos"
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(6130) : error 010: invalid function or declaration
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17616) : warning 217: loose indentation
C:\Documents and Settings\Infinity\Desktop\SampServer Test\gamemodes\penls.pwn(17645) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
neces pisat "ovde ide samo x,y,z"
umjesto toga ide ovo
1129.1837-1489.2147.22.7690A to bi ti izgledalo ovako:
if (PlayerInfo == 10 || PlayerInfo == 10) //Hitman spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1129.1837-1489.2147.22.7690);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
return 1;Kao sto ti je sorfa rekao...pogledaj malo spawn u skripti kakav je bio i samo te koordinate promjenis,znaci udjes u igru odes gdje zelis spawn te organizacije/bande kucas /save odes u savedpositions nadjes to i ubacis te koordinate u SetPlayerPos(playerid, X,Y,Z); nemoj opet ubacit x,y,z bukvalno nego tu idu tvoje koordinate 😉 Sretno
10. Sep. 2009.
C:\Documents and Settings\Infinity\Desktop\SampServer RPG\gamemodes\larp.pwn(4133) : error 001: expected token: ",", but found "."
C:\Documents and Settings\Infinity\Desktop\SampServer RPG\gamemodes\larp.pwn(4133) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Infinity\Desktop\SampServer RPG\gamemodes\larp.pwn(4133) : warning 215: expression has no effect
C:\Documents and Settings\Infinity\Desktop\SampServer RPG\gamemodes\larp.pwn(4133) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Infinity\Desktop\SampServer RPG\gamemodes\larp.pwn(4133) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
C:\Documents and Settings\Infinity\Desktop\SampServer RPG\gamemodes\larp.pwn(4133) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Infinity\Desktop\SampServer RPG\gamemodes\larp.pwn(4133) : warning 215: expression has no effect
C:\Documents and Settings\Infinity\Desktop\SampServer RPG\gamemodes\larp.pwn(4133) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Infinity\Desktop\SampServer RPG\gamemodes\larp.pwn(4133) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava