[POMOC] 2 Stvari [EDITOVANO]

Započeo oO° HarisZornic °Oo, Februar 05, 2011, 16:43:54 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Nisam mogo naslov da smislim xD

Eh ovako.
Pocao sam da editujem Ravens mod, uradio sam sve, i kad sam promjenio imena organizacija i jos nesto, izbacim mi ove warninge:


C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(6419) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(16053) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(16054) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(20399) : warning 217: loose indentation
C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(20462) : warning 217: loose indentation
C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(80818) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


6 Warnings.



Evo vam te linije:

6419: SafeSetPlayerPos(playerid, 1208.7103,-1751.7493,13.5934,49.1536);
16053: SetPlayerCameraPos(playerid, 1703.0236,-1283.1245,13.9239,111.1279);
16054: SetPlayerCameraLookAt(playerid, 1703.0236,-1283.1245,13.9239,111.1279);
20399: CreateDynamicObject(6189, 771.98980712891, -1945.9442138672, -14, 0, 0, 0);
20462: CreateDynamicObject(3043,-1369.89,930.685,1041.94,0,0,0);
80818: te linije nema :S


Server_log:


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3c, (C)2005-2010 SA-MP Team

[16:32:59]
[16:32:59] Server Plugins
[16:32:59] --------------
[16:32:59]  Loading plugin: streamer.dll
[16:32:59]

*** Streamer Plugin v2.3.8 by Incognito loaded ***

[16:32:59]   Loaded.
[16:32:59]  Loaded 1 plugins.

[16:32:59]
[16:32:59] Ban list
[16:32:59] --------
[16:32:59]  Loaded: samp.ban
[16:32:59]
[16:32:59]
[16:32:59] Filter Scripts
[16:32:59] ---------------
[16:32:59]   Loading filter script 'tablice.amx'...
[16:32:59]   Loaded 1 filter scripts.



Ajde pomozite molim vas ! Moze da mi kompajla mod ali nece da upali server  :'( :'(





2. stvar:

One koordinate za kameru, kako ih mogu dobiti za SetCameraPos i SetCameraLookAt?!
Poslednja Izmena: Februar 05, 2011, 17:06:47 POSLE PODNE od oO° HarisZornic °Oo

Respekt:
eXtreme
BloodMaster
Paradox

Citat: John_DillingthonEldin_Omanovic mi je ukrao auto.

Svjedok: Emir_Scofield.




N0NE

za kamere to ti nije u dobrom formatu a za ovo vidi da li je dobro poravnato kao i sve ostalo kada si kopirao to iz convertera

cristiane

[16:32:59]  Loading plugin: streamer.dll
Ako je linux u .cfg stavi streamer.so
Sto se tice warninga

C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(6419) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(16053) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(16054) : warning 202: number of arguments does not match definition

skini najnoviji streamer tj. http://forum.sa-mp.com/showthread.php?t=102865
C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(20399) : warning 217: loose indentation
C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(20462) : warning 217: loose indentation

Dodaj na vrhu skripte tj. definiraj #pragma tabsize 0
C:\Documents and Settings\Admin\Desktop\Uskoro RZ\gamemodes\rzrp.pwn(80818) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
i ovaj zadnji pronadji i izbrisi "GetPointDistanceToPointExMorph" jer je definiran a nije iskoristen.