Object does not appear
#1

Код:
CMD:balloon(playerid,params[])
{
    new Float:x,Float:y,Float:z;
    GetPlayerPos(playerid, x, y, z);
    DestroyObject(Balloon[playerid]);
    DestroyObject(Fire[playerid]);
    DestroyObject(Fire1[playerid]);
    Balloon[playerid] = CreateObject(19335, x, y, z+3,   0.00, 0.00, 0.00);
    Fire[playerid] = CreateObject(18692, 0,0,0,   0.00, 0.00, 0.00);
    Fire1[playerid] = CreateObject(18692, 0,0,0,   0.00, 0.00, 0.00);
    AttachObjectToObject(Fire[playerid], Balloon[playerid], 0.0, 0.0, 2.0, 0.0, 0.0, 0.0, 1);
    AttachObjectToObject(Fire1[playerid], Balloon[playerid], 0.0, 0.0, 4.0, 0.0, 0.0, 0.0, 1);
    return 1;
}
I have a balloon command but the balloon does not appear
Reply
#2

PHP код:
CMD:balloon(playerid,params[])
{
    new 
Float:x,Float:y,Float:z;
    
GetPlayerPos(playeridxyz);
    
DestroyObject(Balloon[playerid]);
    
DestroyObject(Fire[playerid]);
    
DestroyObject(Fire1[playerid]);
    
Balloon[playerid] = CreateObject(19335xyz+3,   0.000.000.00);
    
//Fire[playerid] = CreateObject(18692, 0,0,0,   0.00, 0.00, 0.00);
    //Fire1[playerid] = CreateObject(18692, 0,0,0,   0.00, 0.00, 0.00);
    //AttachObjectToObject(Fire[playerid], Balloon[playerid], 0.0, 0.0, 2.0, 0.0, 0.0, 0.0, 1);
    //AttachObjectToObject(Fire1[playerid], Balloon[playerid], 0.0, 0.0, 4.0, 0.0, 0.0, 0.0, 1);
    
return 1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)