[Pomoc]Spawn za org/bande

Započeo Gamer.Im, Mart 31, 2011, 17:15:07 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 7 gostiju pregledaju ovu temu.

Gamer.Im

Skripta koju koristim:Penls edit by Djuro aka Zoran
Detaljan opis problema:Kako da stavim da mi se odredjena Organizacija/Banda spawna u svojoj bazi
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://

Citat: ° νιÑ,σ вâ,,"αcк ° poslato Mart 31, 2011, 17:15:07 POSLE PODNE
Skripta koju koristim:Penls edit by Djuro aka Zoran
Detaljan opis problema:Kako da stavim da mi se odredjena Organizacija/Banda spawna u svojoj bazi
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Eo buraz
{
if(PlayerInfo[playerid][pMember] == broj organizacije ovdje ide )
SetPlayerPos(playerid,kordinate gdje ce se spawnat);
SetPlayerInterior(playerid,0);
}
eo ti primjer
{
if(PlayerInfo[playerid][pMember] == 1)
SetPlayerPos(playerid,1573.6976,-1630.3932,13.3828);
SetPlayerInterior(playerid,0);
}
I ovo si vidio kod mene na servu ak si ti onaj vito
LOL

Gamer.Im

Pod sta da to stavim? SetPlayerPos ili?


Gamer.Im

C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(3360) : error 055: start of function body without function header
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(3361) : error 010: invalid function or declaration
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6929) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6930) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6931) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6932) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6933) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6934) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6935) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6936) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6937) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6938) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6939) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6940) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6941) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6942) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6943) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6944) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6945) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6946) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6947) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6948) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6949) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6951) : warning 213: tag mismatch
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(7052) : warning 217: loose indentation
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(7062) : warning 217: loose indentation
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(20148) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.



daj mi sliku kako kod tebe izgleda...

Citat: ° νιÑ,σ вâ,,"αcк ° poslato Mart 31, 2011, 18:25:57 POSLE PODNE
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(3360) : error 055: start of function body without function header
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(3361) : error 010: invalid function or declaration
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6929) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6930) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6931) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6932) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6933) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6934) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6935) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6936) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6937) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6938) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6939) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6940) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6941) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6942) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6943) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6944) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6945) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6946) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6947) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6948) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6949) : warning 202: number of arguments does not match definition
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(6951) : warning 213: tag mismatch
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(7052) : warning 217: loose indentation
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(7062) : warning 217: loose indentation
C:\Users\Dino\Desktop\OLD\gamemodes\AD.pwn(20148) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.



daj mi sliku kako kod tebe izgleda...
na pocetak skripte stavi
#pragma tabsize 0
Eo ti slika: http://img39.imageshack.us/i/screenshot002dnk.png/
ovo giveplayerweapon ti ne treba
Poslednja Izmena: Mart 31, 2011, 20:21:07 POSLE PODNE od _MosT_WanteD_
LOL

@Most   Jao, sta ti lupas xD

Evo, hotfix:


if(PlayerInfo[playerid][pMember] == ID_Org || PlayerInfo[playerid][pLeader] == ID_Org )
{

   SetPlayerPos(playerid,x,y,z);
   SetPlayerInterior(playerid,INTERIOR_ID);

}


U OnPlayerSpawn....

Citat: BloodMaster poslato Mart 31, 2011, 21:06:10 POSLE PODNE
@Most   Jao, sta ti lupas xD

Evo, hotfix:


if(PlayerInfo[playerid][pMember] == ID_Org || PlayerInfo[playerid][pLeader] == ID_Org )
{

   SetPlayerPos(playerid,x,y,z);
   SetPlayerInterior(playerid,INTERIOR_ID);

}


U OnPlayerSpawn....

msm stvarno ako sam ja sta lupijo samo si kopirao sta sam ja dodao i stavio ovo || PlayerInfo[playerid][pLeader] == ID_Org )
I plus sam mu dao sliku koju ti nisi ni pogledao
LOL

Citat: _MosT_WanteD_ poslato April 01, 2011, 19:02:15 POSLE PODNE
msm stvarno ako sam ja sta lupijo samo si kopirao sta sam ja dodao i stavio ovo || PlayerInfo[playerid][pLeader] == ID_Org )
I plus sam mu dao sliku koju ti nisi ni pogledao

hah pa onaj tvoj kod je totalno beskoristan... to si samo c/p iz nekog moda onako samo da radi :P
btw zar nije bolje napravit da igrac sam sebi odabere spawn?  :o