i don't understand anything of PVar code here
#4

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);
}
Reply


Messages In This Thread
i don't understand anything of PVar code here - by Andy_McKinley - 18.04.2012, 22:02
Re: i don't understand anything of PVar code here - by ViniBorn - 18.04.2012, 22:20
Re: i don't understand anything of PVar code here - by Andy_McKinley - 18.04.2012, 22:41
Re: i don't understand anything of PVar code here - by ViniBorn - 18.04.2012, 23:17
Re: i don't understand anything of PVar code here - by Andy_McKinley - 19.04.2012, 06:51

Forum Jump:


Users browsing this thread: 1 Guest(s)