how to delete house of pickup
#1

can anybody tell me how to delete house of pickup wat
Reply
#2

What you mean?
If you wanna delete pickup, please use
https://sampwiki.blast.hk/wiki/DestroyPickup
Reply
#3

Quote:
Originally Posted by karemmahmed22
Посмотреть сообщение
What you mean?
If you wanna delete pickup, please use
https://sampwiki.blast.hk/wiki/DestroyPickup
how to use it...
Reply
#4

example
under your defines
PHP код:
new housePickup
OnGamemodeInit(or whatever you creating the pickup on)
PHP код:
        housePickup CreatePickup(modeltype ,  ); 
To destroy it(place anywhere in your script, maybe in the command or callback you want to destroy the pickup on)
PHP код:
DestroyPickup(housePickup); 
Reply
#5

Quote:
Originally Posted by karemmahmed22
Посмотреть сообщение
example
under your defines
PHP код:
new housePickup
OnGamemodeInit(or whatever you creating the pickup on)
PHP код:
        housePickup CreatePickup(modeltype ,  ); 
To destroy it(place anywhere in your script, maybe in the command or callback you want to destroy the pickup on)
PHP код:
DestroyPickup(housePickup); 
but..at my ongamemodeinit,i never create pickup b4...
Reply
#6

i said whatever and wherever you creating the pickup, if you didn't created the pickup, how you'll destroy it?
Reply
#7

Quote:
Originally Posted by karemmahmed22
Посмотреть сообщение
i said whatever and wherever you creating the pickup, if you didn't created the pickup, how you'll destroy it?
idk..i never create it...it appear
Reply
#8

just search in your filterscripts/gamemode for "CreatePickup" and delete the line.
Reply
#9

ok tq
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)