06.11.2012, 00:54
Eu passei um FS para meu GM e no lugar de "OnFilterScriptInit" eu coloquei "OnGameModeInit".
E deu esse erro:
O FS que eu coloquei:
E deu esse erro:
Код:
C:\Users\Vinycius Christian\Desktop\Geral RP 0.3e\gamemodes\POU.pwn(8863) : error 021: symbol already defined: "OnGameModeInit" C:\Users\Vinycius Christian\Desktop\Geral RP 0.3e\gamemodes\POU.pwn(8892) : error 021: symbol already defined: "OnGameModeExit" C:\Users\Vinycius Christian\Desktop\Geral RP 0.3e\gamemodes\POU.pwn(8902) : error 021: symbol already defined: "OnPlayerSpawn" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
Код:
forward reloginho(playerid); new Text:Reloginho1; new Text:Reloginho2; //-----------=================-----------// public OnGameModeInit() { SetTimer("reloginho",1000,1); Reloginho1 = TextDrawCreate(525.000000,5.000000,"--"); Reloginho2 = TextDrawCreate(550.000000,23.000000,"--"); TextDrawAlignment(Reloginho1,0); TextDrawAlignment(Reloginho2,0); TextDrawBackgroundColor(Reloginho1,0x000000FF); TextDrawBackgroundColor(Reloginho2,0x000000FF); TextDrawFont(Reloginho1,2); TextDrawLetterSize(Reloginho1,0.399999,2.000000); TextDrawFont(Reloginho2,2); TextDrawLetterSize(Reloginho2,0.399999,2.000000); TextDrawColor(Reloginho1,0xFFFFFFFF); TextDrawColor(Reloginho2,0xFFFFFFFF); TextDrawSetProportional(Reloginho1,1); TextDrawSetProportional(Reloginho2,1); TextDrawSetShadow(Reloginho1,1); TextDrawSetShadow(Reloginho2,1); TextDrawSetOutline(Reloginho1,1); TextDrawSetOutline(Reloginho2,1); TextDrawShowForAll(Reloginho1); TextDrawShowForAll(Reloginho2); return 1; } //-----------=================-----------// public OnGameModeExit() { TextDrawDestroy(Reloginho1); TextDrawDestroy(Reloginho2); TextDrawHideForAll(Reloginho1); TextDrawHideForAll(Reloginho2); return 1; }