PICKUP İSNT REMOVE ?? HELP PLEASE !
#1

HOW I FIX THIS




pawn Код:
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
new p = ClosestBiz(playerid);
if(pickupid < 3) {
GameTextForPlayer(playerid,"~b~Type ~y~/bankhelpl ~b~ to use the bank.",5000,3);
return 1;
}
if(pickupid < bizcount+2) {
new bizowner[25];
format(bizowner,128,"%s",BizInfo[p][owner]);
if(strcmp(BizInfo[p][owner],DEFAULT_OWNER,false) == 0) {
format(bizowner,128,"Not Owned");
}
new bizmes[128];
format(bizmes,128,"~n~~n~~r~Business: ~g~%s~n~~r~Price: ~g~$%d ~r~~n~~r~Profit: ~g~$%d/hr ~n~~r~Owner: ~g~%s",BizInfo[p][name],BizInfo[p][cost],BizInfo[p][profit]*2,bizowner);
GameTextForPlayer(playerid,bizmes,5000,3);
return 1;
}
if(pickups[pickupid][creation_time]!=0)
{
GivePlayerWeapon(playerid,pickups[pickupid][weapon],pickups[pickupid][dammo]);
}
if(GetHouseID(playerid) != -255) GetHouseStats(playerid, GetHouseID(playerid));
if(pickupid==tower)
{
SetPlayerPos(playerid,3309.7100,-32.0005,81.8662);
GivePlayerWeapon(playerid,46,1);
// DestroyPickup(tower);
// tower=CreatePickup(1559,2,3291.8503,-15.8325,370.7765); // Tower pickup
return 1;
}
if(pickupid==floor)
{
GivePlayerWeapon(playerid,46,1);
SetPlayerPos(playerid,3291.5085,-17.2533,370.7691);
// DestroyPickup(floor);
// floor=CreatePickup(1559,2,3308.2422,-30.3998,81.8584); // Floor pickup
return 1;
}
return 1;
}
Reply


Messages In This Thread
PICKUP İSNT REMOVE ?? HELP PLEASE ! - by berdar007 - 05.11.2014, 17:52
Re: PICKUP İSNT REMOVE ?? HELP PLEASE ! - by UltraScripter - 05.11.2014, 19:28
Re: PICKUP İSNT REMOVE ?? HELP PLEASE ! - by DaniceMcHarley - 05.11.2014, 20:14
Re: PICKUP İSNT REMOVE ?? HELP PLEASE ! - by berdar007 - 06.11.2014, 06:41
Re: PICKUP İSNT REMOVE ?? HELP PLEASE ! - by Pottus - 06.11.2014, 06:42
Re: PICKUP İSNT REMOVE ?? HELP PLEASE ! - by fonia5 - 06.11.2014, 07:10
Re: PICKUP İSNT REMOVE ?? HELP PLEASE ! - by UltraScripter - 06.11.2014, 10:40
Re: PICKUP İSNT REMOVE ?? HELP PLEASE ! - by berdar007 - 06.11.2014, 12:11
Re: PICKUP İSNT REMOVE ?? HELP PLEASE ! - by UltraScripter - 06.11.2014, 12:14

Forum Jump:


Users browsing this thread: 1 Guest(s)