pomozite :D

Započeo 0skar_Zlo, Septembar 10, 2009, 10:20:28 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

       if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Hitman spawn
       {
           SetPlayerToTeamColor(playerid);
         SetPlayerPos(playerid, 262,1129.1837,-1489.2147,22.7690,359.1538);
         SetPlayerInterior(playerid,0);
         PlayerInfo[playerid][pInt] = 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
Poslednja Izmena: Septembar 10, 2009, 10:20:52 PRE PODNE od 0skar_Zlo

if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Hitman spawn
       {
           SetPlayerToTeamColor(playerid);
         SetPlayerPos(playerid, ovde ide samo x,y,z);
         SetPlayerInterior(playerid,0);
         PlayerInfo[playerid][pInt] = 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.1837
y
-1489.2147
z
22.7690
Eto Nadam se da sam ti pomogao

turker_kc

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 !

if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Hitman spawn
       {
           SetPlayerToTeamColor(playerid);
         SetPlayerPos(playerid, ovde ide samo x,y,z); 1129.1837-1489.2147.22.7690
         SetPlayerInterior(playerid,0);
         PlayerInfo[playerid][pInt] = 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.

Citat: 0skar_Zlo poslato Septembar 10, 2009, 10:38:13 PRE PODNE
if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Hitman spawn
       {
           SetPlayerToTeamColor(playerid);
         SetPlayerPos(playerid, ovde ide samo x,y,z); 1129.1837-1489.2147.22.7690
         SetPlayerInterior(playerid,0);
         PlayerInfo[playerid][pInt] = 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.7690
A to bi ti izgledalo ovako:
if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Hitman spawn
       {
           SetPlayerToTeamColor(playerid);
         SetPlayerPos(playerid, 1129.1837-1489.2147.22.7690);
         SetPlayerInterior(playerid,0);
         PlayerInfo[playerid][pInt] = 0;
           return 1;


Citat: sorfa poslato Septembar 10, 2009, 10:53:38 PRE PODNE
Citat: 0skar_Zlo poslato Septembar 10, 2009, 10:38:13 PRE PODNE
if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Hitman spawn
       {
           SetPlayerToTeamColor(playerid);
         SetPlayerPos(playerid, ovde ide samo x,y,z); 1129.1837-1489.2147.22.7690
         SetPlayerInterior(playerid,0);
         PlayerInfo[playerid][pInt] = 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.7690
A to bi ti izgledalo ovako:
if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Hitman spawn
       {
           SetPlayerToTeamColor(playerid);
         SetPlayerPos(playerid, 1129.1837-1489.2147.22.7690);
         SetPlayerInterior(playerid,0);
         PlayerInfo[playerid][pInt] = 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


Svi koji igraju CS-a neka nam se pridruze (:

ma bezite neznate objasnit xD

mi smo dobro objasnili samo ti nemozes da shvatis

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.

Oskar add me na msn objasnim ti sve => [email protected]

Ajde, Klikcite, Jos je u jajetu xD