29.07.2012, 00:51
Eu Achei essa:
pawn code:
if(dialogid == 909)
{
if(response == 1)
{
TextDrawShowForPlayer(playerid, forum[playerid]);
SetPlayerCameraPos(playerid,1519.4929,-1675.6611,21.0900);
SetPlayerCameraLookAt(playerid,1557.2080,-1675.8904,16.1953);
Controle(playerid, 1);
ClearChatbox(playerid, 100);
PlayerInfo[playerid][pTut] = 1;
gNews[playerid] = 0; gFam[playerid] = 0;
Controle(playerid, 1);
SetPlayerVirtualWorld(playerid,0);
MedicBill[playerid] = 0;
SetPlayerSpawn(playerid);
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][pConta] = 100000;
PlayerInfo[playerid][pLevel] = 5;
SetPlayerScore(playerid, 5);
PlayerPlayMusic(playerid);
RegistrationStep[playerid] = 4;
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid, 150000);
return 0;
}
else if(response == 0)
{
Kick(playerid);
return 0;
}
return 0;
}
pawn code:
if(dialogid == 909)
{
if(response == 1)
{
TextDrawShowForPlayer(playerid, forum[playerid]);
SetPlayerCameraPos(playerid,1519.4929,-1675.6611,21.0900);
SetPlayerCameraLookAt(playerid,1557.2080,-1675.8904,16.1953);
Controle(playerid, 1);
ClearChatbox(playerid, 100);
PlayerInfo[playerid][pTut] = 1;
gNews[playerid] = 0; gFam[playerid] = 0;
Controle(playerid, 1);
SetPlayerVirtualWorld(playerid,0);
MedicBill[playerid] = 0;
SetPlayerSpawn(playerid);
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][pConta] = 100000;
PlayerInfo[playerid][pLevel] = 5;
SetPlayerScore(playerid, 5);
PlayerPlayMusic(playerid);
RegistrationStep[playerid] = 4;
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid, 150000);
return 0;
}
else if(response == 0)
{
Kick(playerid);
return 0;
}
return 0;
}