[POMOC]Organizacije


Započeo Nadroj, Mart 21, 2013, 10:30:10 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

skripta: moja od 0
opis problema:

Kako da ubacim vozila u skriptu u kojoj vec imam organizacije i kako da stavim da ako udje neko ko nije iz te org u vozilo da ga izbaci

jel to nesto ono

new Ballas[2];

pa onda idu vozila ono neako

new Ballas = AddStaticVehicle(koridinate)

ili tako nesto
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

proveri za ovo drugo a ja cu sad da probam
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(46) : error 010: invalid function or declaration
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(263) : warning 219: local variable "Ballas" shadows a variable at a preceding level
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(266) : error 017: undefined symbol "ID"
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(710) : warning 203: symbol is never used: "Ballas"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

xD... glup sam ja... nego sam jos nesto zaboravio.. .ja sam izbrisao to za organizacije i ostavio samo komande posto mi nesto nije radilo.. jel imas neki dobar tut kako da ubacim org koji je proveren
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

jel mora ovako

enum E_PLAYER_DATA
{
	E_PLAYER_LEADER,	// Varijabla koja pamti cega je igrac lider
	E_PLAYER_MEMBER,	// Varijabla koja pamti u kojoj je igrac organizaciji
	E_PLAYER_RANK,		// Varijabla koja pamti koji je igrac rank u organizaciji
	E_PLAYER_SKIN,		// Varijabla koja pamti koji skin je igrac imao prije ulaska u organizaciju
	E_PLAYER_ORG_SKIN 	// Varijabla koja pamti koji skin igrac ima dok je u organizaciji
}


ili mogu u moj enum da dodam

pLider
pMember
pRank
pSkin

i onda kasnije menjam sve to ili mora ovako?
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

C:\Users\petarwin7\Desktop\Game MODE\pawno\include\sscanf.inc(173) : error 017: undefined symbol "foreach"
C:\Users\petarwin7\Desktop\Game MODE\pawno\include\sscanf.inc(175) : error 017: undefined symbol "playerid"
C:\Users\petarwin7\Desktop\Game MODE\pawno\include\sscanf.inc(178) : error 017: undefined symbol "playerid"
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(172) : error 017: undefined symbol "gPlayerData"
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(172) : warning 215: expression has no effect
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(172) : error 001: expected token: ";", but found "]"
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(172) : error 029: invalid expression, assumed zero
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(172) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.


evo errora
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

sscanf link ne radi
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

izbaci mi milion errora


C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(192) : warning 217: loose indentation
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(192) : error 079: inconsistent return types (array & non-array)
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(198) : warning 217: loose indentation
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(198) : error 029: invalid expression, assumed zero
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(198) : error 004: function "S@@_OnPlayerDeath" is not implemented
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(200) : error 017: undefined symbol "killerid"
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(202) : error 079: inconsistent return types (array & non-array)
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(208) : warning 225: unreachable code
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(208) : error 029: invalid expression, assumed zero
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(208) : error 004: function "S@@_OnVehicleSpawn" is not implemented
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(210) : error 079: inconsistent return types (array & non-array)
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(215) : warning 225: unreachable code
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(215) : error 029: invalid expression, assumed zero
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(215) : error 004: function "S@@_OnVehicleDeath" is not implemented
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(217) : error 079: inconsistent return types (array & non-array)
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(222) : warning 225: unreachable code
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(222) : error 029: invalid expression, assumed zero
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(222) : error 004: function "S@@_OnPlayerText" is not implemented
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(237) : error 017: undefined symbol "AntiPsovka"
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(239) : error 079: inconsistent return types (array & non-array)
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(244) : warning 225: unreachable code
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(244) : error 029: invalid expression, assumed zero
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(244) : error 004: function "zcmd_OnPlayerCommandText" is not implemented
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(246) : error 079: inconsistent return types (array & non-array)
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(251) : warning 225: unreachable code
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(251) : error 029: invalid expression, assumed zero
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(251) : error 004: function "S@@_OnPlayerEnterVehicle" is not implemented
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(253) : error 079: inconsistent return types (array & non-array)
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(258) : warning 225: unreachable code
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(258) : error 029: invalid expression, assumed zero
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(258) : error 004: function "S@@_OnPlayerExitVehicle" is not implemented
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(260) : error 079: inconsistent return types (array & non-array)
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(265) : warning 225: unreachable code
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(265) : error 029: invalid expression, assumed zero
C:\Users\petarwin7\Desktop\Game MODE\gamemodes\GLL.pwn(265) : error 004: function "S@@_OnPlayerStateChange" is not implemented

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

evo ti moja skripta

http://pastebin.com/Ji32TdgA

ubacio sam i sscanf i sscanf2 i nece a ni pojedinacno... probaj kod sebe ako mozes
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

sta u define?


nisam ja profesionalac bre. pricaj mi normalno onaj seljacki  :D :D :D
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

uzgred da sve sam prebacio i compile u pawno... probaj kod sebe da kompile pa ako kod tebe radi znaci nesto sam zeznuo kod include i tih sranja
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

nece....
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

sta da radim
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

*BUMP*
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

sve je reseno... profesionalac JOEY mi sredio

LOCK
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak