02.06.2011, 18:29
isso ta certo...
Poste o OnPlayerSave ...
pawn Код:
if(strcmp(cmd, "/pulartuto", true) == 0)
{
if(PlayerInfo[playerid][pTut] != 0)
return SendClientMessage(playerid, COLOR_RED, "[Fail] Vocк nгo estб no tutorial."); }
KillTimer(tempotutorial[playerid]);
EsconderTodosText(playerid);
LimparChat(playerid);
EsconderTodosText(playerid);
GivePlayerGP(playerid, 0);
SetPlayerFacingAngle(playerid, 294.5726);
SetPlayerVirtualWorld(playerid,0);
partetutorial[playerid] = 0;
PlayerInfo[playerid][pTut] = 1;
SetCameraBehindPlayer(playerid);
PlayerPlayMusic(playerid);
SetCameraBehindPlayer(playerid);
SetPlayerHealth(playerid,100.0);
TogglePlayerControllable(playerid, 1);
TutTime[playerid] = 0;
gOoc[playerid] = 0; gNews[playerid] = 0; gFam[playerid] = 0;
TogglePlayerControllable(playerid, 1);
OnPlayerSave(playerid);
SendClientMessage(playerid, COLOR_GREEN, "================================================= ===============");
SendClientMessage(playerid, COLOR_YELLOW2, "BEM VINDO ao Expirion Games [/equipe]");
SendClientMessage(playerid, COLOR_GREEN, "================================================= ===============");
SendClientMessage(playerid, COLOR_YELLOW2, "Somente as pessoas que estiverem perto de vocк leram o que vocк digitar.");
SendClientMessage(playerid, COLOR_YELLOW2, "Para usar o chat de conversa use T, depois digite o texto e enter.");
SendClientMessage(playerid, COLOR_YELLOW2, "Use /relato [texto] para falar com os administradores.");
SendClientMessage(playerid, COLOR_YELLOW2, "Utilize /gps Para Se Localizar Durante o Jogo.");
SendClientMessage(playerid, COLOR_GREEN, "================================================= ===============");
SetPlayerPos(playerid,1477.89,-1642.31,14.16);//spawncoord
RegistrationStep[playerid] = 0;
return 1;
}