09.02.2014, 07:48
eu queria um comando para qnd a pessoa for logar no server ou se registrar ficar uma Imagen no fundo.
TextDrawHideForPlayer(p, Sprite0);
C:\Users\Patricia\Desktop\BGR\gamemodes\BGR.pwn(12922) : error 021: symbol already defined: "Streamer_OnPlayerConnect" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
TextDrawSetString(Sprite0, Sprites[random(sizeof(Sprites))]);
TextDrawShowForPlayer(playerid,Sprite0);
SetTimerEx("Unload", 60000 * 2, false, "d", playerid);
public OnPlayerConnect(playerid) { //new SSSTRING[128]; EmGuerra[playerid] = 0; XiterArma[playerid] = 1; DonoBalao[playerid] = 0; NaoPodeLogar[playerid] = 0; ComecouConversao2[playerid] = 0; ComecouConversao[playerid] = 0; EstaNoEvento[playerid] = 0; JaDeslogado[playerid] = 0; NaCamera[playerid] = 0; FoiDesban[playerid] = 0; pMaxBR[playerid] = 0; //SetPlayerCameraPos( playerid, -2864.7883, 264.9134, 23.1133 ); //SetPlayerCameraLookAt( playerid, -2864.4394, 254.9195, 20.8638 ); XXAirBreak[playerid] += 3; SetPlayerPos(playerid, -2870.0090,272.1401,5.6831); SetPlayerInterior(playerid, 0); GranaEvento[playerid] = 0; XXAirBreak[playerid] += 3; KillTimer(TimerSS[playerid]); // TextDrawShowForPlayer(playerid, textlife[playerid]); //TextDrawShowForPlayer(playerid, textcolete[playerid]); TextDrawShowForPlayer(playerid, Reloginho1); //TextDrawShowForPlayer(playerid, Reloginho2); // TextDrawShowForPlayer(playerid, Reloginho3); TextDrawShowForPlayer(playerid, forum); //TextDrawShowForPlayer(playerid, forum2); RemovePlayerAttachedObject(playerid, OBJCAPACETE); StopPlayerHoldingObject(playerid); RemovePlayerAttachedObject(playerid, pObject[playerid][oslot]); pObject[playerid][oslot] = -1; NaoPodeDigitar[playerid] = 0; pObject[playerid][slotreserved] = false;