21.04.2012, 20:20
iЙ isso aqi ? :S
pawn Код:
public OnPlayerSpawn(playerid)
{
if(dini_Int(file, "Lutas") == 1)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW);
}
if(dini_Int(file, "Lutas") == 2)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
}
if(dini_Int(file, "Lutas") == 3)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
}
if(dini_Int(file, "Lutas") == 4)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);
}
if(dini_Int(file, "Lutas") == 5)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
}
if(dini_Int(file, "Lutas") == 6)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL);
}
emcasa[playerid] = 0;
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
TextDrawHideForPlayer(playerid, topblack);
TextDrawHideForPlayer(playerid, bottomblack);
TextDrawHideForPlayer(playerid, drogas1);
TextDrawHideForPlayer(playerid, drogas2);
TextDrawShowForPlayer(playerid, Relogio);
TextDrawShowForPlayer(playerid, gText2[playerid]);
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0);
GangZoneShowForPlayer(playerid,favela,0xFF0000AA);
GangZoneShowForPlayer(playerid, areadmlv, 0xFF000096);
GangZoneShowForPlayer(playerid, AreaDrogas, 0xFF8040AA);
//--------------------------
gmod[playerid] = 0;
noevento[playerid] = 0;
GPS_Spawned[playerid] = 1;
nogame[playerid] = 0;
Logarprof(playerid);
autoescola[playerid] = 0;
prefls[playerid] = 0;
prefsf[playerid] = 0;
preflv[playerid] = 0;
nobarls[playerid] = 0;
nobarsf[playerid] = 0;
nobarlv[playerid] = 0;
nobarfc[playerid] = 0;
nautlls[playerid] = 0;
algemado[playerid] = 0;
sequestro[playerid] = 0;
vercmds[playerid]=0;
verpms[playerid]=0;
dini_IntSet(file, "convitent", 0);
dini_IntSet(file, "Entrevista", 0);
dini_IntSet(file, "MN", 0);
pawn Код:
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
SetPlayerSkin(playerid,dini_Int(file, "Skin"));
//ShowPlayerDialog(playerid, AVISO, DIALOG_STYLE_MSGBOX,"", "Seja Bem Vindo\nNosso server [BVP] Vocк estб comeзando, curta sua 2Є vida aqui\nClique em OK e comece a jogar", "Ok", "Sair");
ShowPlayerDialog(playerid, AVISO, DIALOG_STYLE_MSGBOX, "Aviso", "{2F4F4F}Seja Bem Vindo(a)", "Ok", "Sair");
GameTextForPlayer(playerid,"~g~Brasil ~g~Virtual ~g~Play ", 2000, 1);
SetPlayerCameraPos(playerid, 1473.01, -1621.39, 15.60);
SetPlayerCameraLookAt(playerid, 1471.11, -1625.93, 14.72);
SetPlayerPos(playerid, 1472.7699,-1626.6316,14.0469);
SetPlayerFacingAngle(playerid, 27.3939);
ApplyAnimation(playerid, "BEACH", "bather", 4.0,1,0,0,0,0);
return 1;
}