18.04.2012, 23:17
I do not know if that's what you want, but :
pawn Код:
else if(pickupid == tec)
{
weapon[playerid] = 32;
weaponcost[playerid] = 6000;
ammo2[playerid] = 60;
SetPVarInt(playerid,"tec", weaponcost[playerid]*ammo2[playerid]); // Total of $360.000 for 60 bullets of Tec9
TextDrawShowForPlayer(playerid, background);
#if defined ALT
TextDrawSetString(text2, "Use 'ALT' to buy. Cost $6000.");
#else
TextDrawSetString(text2, "Use 'ALT' to buy. Cost $6000.");
#endif
TextDrawShowForPlayer(playerid, text2);
wpicked[playerid] = 1;
SetTimerEx("HideText", 2000, false, "d", playerid);
}