07.09.2015, 19:23
Quote:
onde esse classid esta sendo chamado ? Mostre um pedaзo do cуdigo
|
pawn Код:
if(dialogid == DIALOG_SAPW)
{
if(!response)
{
sSpawn[playerid] = true;
jaspawnou[playerid] = false;
SetPVarInt(playerid,"Escolhendo_Classe",1);
TextDrawHideForPlayer(playerid, _IfemCloseFile);
TextDrawHideForPlayer(playerid, _IfemCloseLog);
TextDrawHideForPlayer(playerid, _IfemCloseName);
TextDrawHideForPlayer(playerid, _IfemCloseVersion);
TextDrawShowForPlayer(playerid, ProfsTextD[playerid]);
switch (classid)
{
case 0, 1, 2, 3, 4, 5, 6, 7:
{
if (APlayerData[playerid][Sexo] == 0)
{
TextDrawSetString(ProfsTextD[playerid], "CAMINHONEIRO");
UpdatePlayer3DTextLabelText(playerid, DDClass, 0xFF950AFF, "Caminhoneiro");
}
if (APlayerData[playerid][Sexo] == 1)
{
TextDrawSetString(ProfsTextD[playerid], "CAMINHONEIRO");
UpdatePlayer3DTextLabelText(playerid, DDClass, 0xFF950AFF, "Caminhoneiro");
}
if (APlayerData[playerid][Sexo] == 2)
{
TextDrawSetString(ProfsTextD[playerid], "CAMINHONEIRA");
UpdatePlayer3DTextLabelText(playerid, DDClass, 0xFF950AFF, "Caminhoneira");
}
APlayerData[playerid][PlayerClass] = ClassTruckDriver;
}