Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: gargy001 poslato Jul 08, 2014, 22:13:22 POSLE PODNE

Naslov: [Pomoć] Error kod RemoveBuildingForPlayer
Poruka od: gargy001 poslato Jul 08, 2014, 22:13:22 POSLE PODNE
Skripta koju koristim: Moja od 0
Detaljan opis problema: Kada compile-am skriptu dobijem slijedeće errore :/
Errori:
C:\Documents and Settings\Administrator\Desktop\Mod od 0\gamemodes\CLRP.pwn(5060) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\Mod od 0\gamemodes\CLRP.pwn(5060) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\Mod od 0\gamemodes\CLRP.pwn(5060 -- 5061) : error 021: symbol already defined: "RemoveBuildingForPlayer"
C:\Documents and Settings\Administrator\Desktop\Mod od 0\gamemodes\CLRP.pwn(5060 -- 5061) : 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.

Dio skripte: Linije 5060, 5061 i 5062
RemoveBuildingForPlayer(playerid, 13759, 1413.4141, -804.7422, 83.4375, 0.25);
RemoveBuildingForPlayer(playerid, 13722, 1413.4141, -804.7422, 83.4375, 0.25);
RemoveBuildingForPlayer(playerid, 13831, 1413.4141, -804.7422, 83.4375, 0.25);
Naslov: Odg: [Pomoć] Error kod RemoveBuildingForPlayer
Poruka od: Denis_Lapi poslato Jul 08, 2014, 22:17:31 POSLE PODNE
U koji si ti public stavljao taj kod?
Naslov: Odg: [Pomoć] Error kod RemoveBuildingForPlayer
Poruka od: gargy001 poslato Jul 08, 2014, 22:19:23 POSLE PODNE
Citat: Denis_Lapi poslato Jul 08, 2014, 22:17:31 POSLE PODNE
U koji si ti public stavljao taj kod?
Kod je ispod OnPlayerConnect :/
Naslov: Odg: [Pomoć] Error kod RemoveBuildingForPlayer
Poruka od: DevoXx poslato Jul 09, 2014, 00:08:18 PRE PODNE
Ne tu ..

Stavi to ispod "GameModeInit"
Naslov: Odg: [Pomoć] Error kod RemoveBuildingForPlayer
Poruka od: Denis_Lapi poslato Jul 09, 2014, 00:55:36 PRE PODNE
Citat: DevoXx poslato Jul 09, 2014, 00:08:18 PRE PODNE
Ne tu ..

Stavi to ispod "GameModeInit"
O cemu pricas ti?  :o OnGameModeInit je globalan public i u njemu se ne sadrzi pohranjivanje za playerid. To se ubacuje u OnPlayerConnect i tu nema polemike..

EDIT: Devoxx, evo obnovi malo..
http://wiki.sa-mp.com/wiki/RemoveBuildingForPlayer