script help
#1

i have this.How can something that works in all directions?
PHP код:
CMD:carepack(playeridparams[])
{
    new 
Float:xFloat:yFloat:zFloat:aplane;
    
GetPlayerPos(playeridxyz);
    
GetPlayerFacingAngle(playerida);
    
plane CreateObject(1683xy+274.4658z+83.31580.00.00.0);
    
SetObjectRot(plane00a+90);
    
MoveObject(planexy-184.3464z+83.315815.00);
    
SetTimerEx("endcarepack"15000false"ifff"planeFloat:xFloat:yFloat:z);
      return 
1;
}
forward endcarepack(planeFloat:xFloat:yFloat:z);
public 
endcarepack(planeFloat:xFloat:yFloat:z)
{
    new 
pack;
    
pack CreateObject(18849xyz+82.41040.00.00.0);
    
MoveObject(packFloat:xFloat:yFloat:z+6.21044.00);
    
SetTimerEx("dplane"5000false"i"plane);
    return 
1;
}
forward dplane(plane);
public 
dplane(plane)
{
    if(
IsValidObject(plane)) DestroyObject(plane);
    return 
1;

Reply
#2

Why do you use the 'Float:' tag everywhere? The variables are already declared as floats, the compiler knows they have to be handled as floats, there's no need to use the tag everywhere.

What exactly is your question?
Reply
#3

Reply
#4

what are you asking about i didnt understand your question
Reply
#5

test this code. I do not know how to explain
Reply
#6

i need this please help me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)