Pickup
#1

how to create so much pickup with 1 symbol ?
example :
pawn Код:
ArmorPick = CreatePickup(1242, 1, 1503.3359, 1432.3585, 10.1191, -1) && CreatePickup(1242, 1, 1493.2490,1429.7944,10.8203, -1);
Reply
#2

Use an array.
pawn Код:
new ArmorPick[2];

ArmorPick[0] = CreatePickup(...);
ArmorPick[1] = CreatePickup(...);
Reply
#3

where i can put that ?
OnGamemodeInit ?
Reply
#4

use likes this:-

pawn Код:
new ArmorPick[2];

public OnGamemodeInit()
{
   ArmorPick[0] = CreatePickup(...);
   ArmorPick[1] = CreatePickup(...);
   return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)