04.01.2010, 21:43
Quote:
|
Originally Posted by ClanDBZVegeta
Quote:
i just didnt want ppl to know my first FS ![]() so i replaced 1,2,3,4 i actually have tower1 and the others but same error comes >_< |
This goes at the very top but under the #include's
pawn Код:
new 1;
new 2;
new 3;
new 4;
pawn Код:
1 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
2 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
3 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
4 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid) //Pickup callback
{ //Begining bracket
if(pickupid == 1) GivePlayerMoney(playerid,10000); //pickup new 1;
if(pickupid == 2) ... //pickup new 2;
return 1; //Returns the callback
} //ending bracket


