20.09.2011, 21:13
tenta:
se possнvel, poste os fs que estб usando ...
pawn Код:
#include <a_samp>
#include <dini>
#define VERMELHO 0xE60000FF
#define VERMELHO2 0xAA3333AA
#define VERDE 0x33AA33AA
#define BRANCO 0xFFFFFFAA
#define LARANJA 0xFF9900AA
#define AMARELO 0xFFFF00AA
#define AZUL 0x33CCFFAA
#define ROSA 0xFF00FFAA
#define CINZA 0xAFAFAFAA
#define VERDECLARO 0x7FFF00AA
#define VERMELHOESCURO 0xDD0000FF
#define AZULESCURO 0x0000FFAA
#define PRETO 0x00000000
#define BRANCO 0xFFFFFFAA
#define AZULFRACO 0x99FFFFAA
main()
{
print("Bem vindo ao servidor SADP");
print("Servidor sendo carregado...");
print("...Servidor carregardo com Sucesso");
}
public OnPlayerConnect(playerid)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof(string),"|INFO| O Jogador %s entrou no servidor!",pName);
SendClientMessageToAll(VERMELHO,string);
if(playerid == 0)
{
SetPlayerColor(playerid,0xFF0000AA);
}
if(playerid == 1)
{
SetPlayerColor(playerid,0xFF2F00AA);
}
if(playerid == 2)
{
SetPlayerColor(playerid,0xFF5100AA);
}
if(playerid == 3)
{
SetPlayerColor(playerid,0xFF8400AA);
}
if(playerid == 4)
{
SetPlayerColor(playerid,0xFFA600AA);
}
if(playerid == 5)
{
SetPlayerColor(playerid,0xFFD900AA);
}
GivePlayerMoney(playerid, 2000);
SendClientMessage(playerid, AZULFRACO,"Seja Bem-Vindo ao Server Treino SADP - TSSA");
return 1;
}
public OnGameModeInit()
{
AddPlayerClass(271,2057.6274,861.0150,6.7172,181.5049,0,0,0,0,0,0);
SetGameModeText("SADP");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp("/creditos", cmdtext, true))
{
SendClientMessage(playerid,VERDE,"~~~~~~~~~~~~~~~~~~~~ Crйditos ~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(playerid,VERDE,"~~~~~~~~GM criado por [SADP]Baby_Chris!~~~~~~~~~~~");
SendClientMessage(playerid,VERDE,"~~~~~~~~~~~~~~~~~~~~ Crйditos ~~~~~~~~~~~~~~~~~~~~");
return 1;
}
return 0;
}