10.01.2012, 02:32
Nгo, jaja posto o codigo
@Edit
ta ai o codigo
@Edit
ta ai o codigo
pawn Код:
PlayerInfo[playerid][pMembro] = InviteJob[playerid];
PlayerInfo[playerid][pCargo] = 1;
SelectCharID[playerid] = PlayerInfo[playerid][pMembro];
format(gstring, 128, "* %s aceitou seu convite para entrar na sua organizaзгo.", PlayerName(playerid));
SendClientMessage(InviteOffer[playerid], COLOR_LIGHTBLUE, gstring);
new rand = random(sizeof(gInviteSpawns));
SetPlayerPos(playerid, gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(playerid, gInviteSpawns[rand][3]);
SetPlayerCameraPos(playerid,gInviteSpawns[rand][0] + 3, gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
SetPlayerCameraLookAt(playerid,gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
TogglePlayerControllable(playerid, 0);
SelectChar[playerid] = 255;
SelectCharID[playerid] = PlayerInfo[playerid][pMembro];
SelectCharPlace[playerid] = 1;
PlayerInfo[playerid][pSkin] = ChosenSkin[playerid];
SetPlayerSkin(playerid, ChosenSkin[playerid]);
SendClientMessage(playerid, COLOR_LIGHTRED, "* Use 'Proximo' para trocar a skin.");
SendClientMessage(playerid, COLOR_LIGHTRED, "* Quando Vocк achar a Skin preferida, Digite 'Confirma'.");
format(gstring, sizeof(gstring), "* Vocк aceitou o convite de emprego de %s para entrar para: %s, parabйns.", PlayerName(InviteOffer[playerid]), NomeORG(InviteOffer[playerid]));
SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring);
ConviteInfoOrg(PlayerName(playerid), InviteJob[playerid], 1);
}
else
{