Attached Object
#1

Hello
these are codes and when i spawn the attached object doesen't show up

codes:
PHP код:
public OnPlayerSpawn(playerid)
{
    if(
gPlayerClass[playerid] == CLASS_SOLDIER)//This is for the First soldier class.
    
{
        
TogglePlayerControllable(playerid1);
        
ResetPlayerWeapons(playerid);
        
GivePlayerWeapon(playerid31200);//m4
        
GivePlayerWeapon(playerid25100);//mp5
        
GivePlayerWeapon(playerid2470);//deagle
        
SetPlayerAttachedObject(playerid01910220.1539990.0110000.000000);
    }
    return 
1;

anyone could help ?
Reply
#2

Are you getting the weapons though? (m4,mp5,deagle)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)