[AJUDA]Sistema de viagens simples
#1



Uploaded with sapinho (Image Shack)



ajuda por favor
Reply
#2

isso й uma chave( "}" ou "{" ) a mais ou a menos no gm!
Reply
#3

COMO ASSIM ?

NAO ENTENDI
Reply
#4

Fiz tudo o que tinha que faze mesmo assim de esse problema
Reply
#5

Sem double cara.
Ele quis dizer que vocк esqueceu de fechar ou abrir alguma chaves { } neste code de viagem
Reply
#6

Aff olhei o GM todo e nao tem nada a mais cara
Reply
#7

pessoal ajuda por favor
Reply
#8

Caraca, sem Double post po!!

Eles te ajudara, vc q n entendeu. Sobre as "Chaves", й algo a menos, e nгo algo a mais. Exemplo:

pawn Код:
public OnPlayerConnect(playerid)
{
    return 1;
}
Isto й um cуdigo correto, mas, se vocк esquecer de fechar uma chave, que ficarб assim:
pawn Код:
public OnPlayerConnect(playerid)
{
    return 1;
O Pawn darб erros, ou atй pararб de funcionar....

OBS:> Isso й um exemplo simples.... Seu comando, concerteza, й mais complexo que isso... entгo, verifique nele algo do tipo..
Reply
#9

Код:
public OnPlayerConnect(playerid)
{
    SetPlayerPos(playerid,1544.1881,-1353.3464,329.4742);
	SetPlayerFacingAngle(playerid, 96.5492);
	SetPlayerInterior(playerid,0);
	SetPlayerHealth(playerid, 100.0);
	new ipstring[256];
	new IPlogName[MAX_PLAYER_NAME];
	new PlayerIP[256];
	GetPlayerName(playerid, IPlogName, sizeof(IPlogName));
	GetPlayerIp(playerid,PlayerIP, sizeof(PlayerIP));
	new year, month,day;
	getdate(year, month, day);
	new hour, minute;
	gettime(hour,minute);
	format(ipstring, sizeof(ipstring), "%s IP: %s DATA ( %d/%d/%d - %d:%d)", IPlogName,PlayerIP,year, month, day,hour, minute);
    IPLog(ipstring);
 	if(Security != 0)
	{
	    SendClientMessage(playerid, COLOR_YELLOW, "Para jogar aqui, voce tem que cumprir as regras.");
	    Kick(playerid);
	    return 1;
	}
Reply
#10

Tem erro ali ??
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)