[Ajuda] SetPlayerAttachedObject
#1

Olб novamente.
Hoje venho aqui por um motivo estranho que ocorreu depois que mudei meu servidor para 0.3e. Todos os objetos que ficam na skin ( SetPlayerAttachedObject ) tipo nгo carregam... Exemplo abaixo, pensei que poderia haver conflitos mas nem hб, os objetos setados carregam e somem no mesmo segundo alguйm poderia me ajudar.

Deveria ficar assim:


Mas ta ficando assim:
Reply
#2

Tentee Esse

Quote:

if(!strcmp(cmdtext,"/batalha",true))
{
if(IsACop(playerid))
{
if(Equipamentos[playerid] == 1)
{
RemovePlayerAttachedObject(playerid,1);
RemovePlayerAttachedObject(playerid,2);
RemovePlayerAttachedObject(playerid,3);
RemovePlayerAttachedObject(playerid,4);
Equipamentos[playerid] = 0;
return 1;
} if(Equipamentos[playerid] == 0)
{ SetPlayerAttachedObject(playerid,1,19142,1,0.1,0.0 5,0.0,0.0,0.0,0.0);
SetPlayerAttachedObject(playerid,2,19141,2,0.11,0. 0,0.0,0.0,0.0,0.0);
SetPlayerAttachedObject(playerid,3,18637,13,0.35,0 .0,0.0,0.0,0.0,180.0);
SetPlayerAttachedObject(playerid,4,18642,7,0.1,0.0 ,-0.11,0.0,-90.0,90.0);
SendClientMessage(playerid,COLOR_YELLOW,"Vocк colocou os seus equipantos de batalha !");
Equipamentos[playerid] = 1;
return 1;
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"Vocк nгo й um COP.");
}
return 1;
}

Qualquer Coisa Retire Todas Suas FS e Teste Para Ver Se и ComFlito
Reply
#3

Tenho certeza que nao hб conflitos no gm e nao uso nenhuma fs, tentei adicionar teu codigo e continua do mesmo geito.
Reply
#4

Com certeza й conflito pow o meu servidor aparece direitinho
Reply
#5

Quote:
Originally Posted by Vinicius_TroLL
Посмотреть сообщение
Com certeza й conflito pow o meu servidor aparece direitinho
Repito novamente que nao hб conflito tenho certeza apaguei todas SetPlayerAttachedObject so dechei uma e apaguei todas RemovePlayerAttachedObject pra testar, e continua sumindo nao uso nenhuma fs.
Reply
#6

O bug e igual a esse aqui do video:[ame]http://www.youtube.com/watch?v=41fJfFvLWUk[/ame]
Reply
#7

Na fs de oculos do cynic so da pra adicionar o /oculos 1, o resto tudo da esse bug ae do video:
FS http://forum.sa-mp.com/showthread.ph...e+cynic&page=1
Reply
#8

http://www.youtube.com/watch?v=mEbBQ...ature=*********
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)