Jump to content

Question

Posted

Unde tre sa adaug in gm functia: RemoveBuildingForPlayer ?

Daca o adaug sub alea cu createdynamicobject are ceva?..adica se sterg obiectele?

ca am incercat sa o pun la onplayerconnect dar nu a mers..nu sau sters obiectele

5 answers to this question

Recommended Posts

Posted

Scuze, am gresit eu.

Pune asa :

[pawn]public RemoveBuildingForPlayer

{

...// ce mai ai tu in callback-ul asta

...// ce mai ai tu in callback-ul asta

return 1;

}[/pawn]

www.youtube.com/thebwgg

Posted

Scuze, am gresit eu.

Pune asa :

[pawn]public RemoveBuildingForPlayer

{

...// ce mai ai tu in callback-ul asta

...// ce mai ai tu in callback-ul asta

return 1;

}[/pawn]

NU


CORECT

[pawn]

public OnPlayerConnect(playerid)

{

    RemoveBuildingForPlayer(playerid, 615, 0.0, 0.0, 0.0, 200.0);

    return 1;

}

[/pawn]

RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);
modelid - ID-u obictului.
Float:fX, Float:fY, Float:fZ, Float:fRadius - cordonatele obiectului.

Mai multe informati pe :

http://wiki.sa-mp.com/wiki/RemoveBuildingForPlayer

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.