- 0
Help
-
Similar Content
-
- 0 answers
- 558 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
alin_samp1996
Cum fac sa stearga aceasta functie numai anumite obiecte nu tot!
[pawn] public OnPlayerPickUpPickup ( playerid , pickupid )
{
DestroyPickup(pickupid);
return 1;
}[/pawn]
Eu am acel sistem cand te omoara cineva iti ia armele... SI daca ma duc la o casa in pickup il sterge! cum as aputea face sa stearga decat armele?
Mi sa spus sa fac asa:
[pawn]public OnPlayerPickup ( playerid , pickupid )
{
if( pickupid == WeapPick[ playerid ] )
{
DestroyPickup( WeapPick[ playerid ] );
}
return 1;
}[/pawn]
dupa ce am pus imi da!
si la arme sa fac variabila gen WeapPick[ playerid ] = CreatePickup(...);
ProfesionalGaming Community
www.pgc-zone.tk
Let`ss goo PgC
1 answer to this question
Recommended Posts