23.04.2010, 23:30
Nada xD Estamos Aqui para Ajudar
Ja Vejo seu FS Tshadown Bjuus
Ja Vejo seu FS Tshadown Bjuus
Originally Posted by tshadow
|
// This is a comment
// uncomment the line below if you want to write a filterscript
#define FILTERSCRIPT
#include <a_samp>
#include <Dini>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
if(!fexist("score.ini")) dini_Create("score.ini");
//if(!fexist("Weapon.ini")) dini_Create("Weapon.ini");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#endif
public OnPlayerConnect(playerid)
{
//if(dini_Isset("Weapon.ini",PlayerName(playerid))) GivePlayerWeapon(playerid,dini_Int("Weapon.ini",PlayerName(playerid)));
if(dini_Isset("score.ini",PlayerName(playerid))) SetPlayerScore(playerid,dini_Int("score.ini",PlayerName(playerid)));
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
dini_IntSet("score.ini",PlayerName(playerid),GetPlayerScore(playerid));
//dini_IntSet("Weapon.ini",PlayerName(playerid),GetPlayerWeapon(playerid));
return 1;
}
stock PlayerName(playerid)
{
new Name[MAX_PLAYERS];
GetPlayerName(playerid, Name, sizeof(Name));
return Name;
}
Originally Posted by judson diogo
ae, alguem ai sabe qual e o codigo para salvar as gangs ?
|
Originally Posted by RoamPT
Fodasse eu avisei e fizeste o mesmo, puntz jб reportei aos Administradores. Andas a gozar com a minha cara, й que sу pode.
|
Originally Posted by andmeida10
Quote:
|
new Float:X, Float:Y, Float:Z;
//substituis o GetPlayerPOs seu por esse:
GetPlayerPos(playerid, X, Y, Z);
//- Criar o inicio do PontenhooOo -//
new ponto[500];
//- Quando passar -//
ponto[playerid]++;
//- Setar um valor -//
ponto[playerid]=0;