17.05.2013, 23:45
o BWE e outros gm vem com esse cmd aki
SE NAO DA CERTO BAIXE O GM E ESTUDO O CMD'-'
pawn Код:
if(strcmp(cmd, "/Continuar", true) == 0) {
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(dini_Int(file, "Continuar") == 0){
SendClientMessage(playerid, Vermelho,"(ERRO) Vocк ja usou o comando /continuar neste ''LOGIN''");
return 1;
}
if(dini_Int(file, "Continuar") == 1){
if(IsPlayerInAnyVehicle(playerid) == 1){
SendClientMessage(playerid, Vermelho, "(ERRO) Vocк estб dentro de um carro.");
return 1 ;
}
SetPlayerPos(playerid,dini_Int(file, "ContinuarX"),dini_Int(file, "ContinuarY"),dini_Int(file, "ContinuarZ"));
SetPlayerInterior(playerid,dini_Int(file, "ContinuarI"));
SendClientMessage(playerid, Branco,"(INFO) Vocк foi atй sua ultima posiзгo.");
dini_IntSet(file,"Continuar",0);
return 1;
}
}