SA-MP Forums Archive
Please help me :) Plz - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Please help me :) Plz (/showthread.php?tid=422432)



Please help me :) Plz - memeli11 - 13.03.2013

Hello Everyone,
I need your help can u help me ?

stock Getsms(playerid,ammount)
{
SetPVarInt(playerid, "SMSPoint", GetPVarInt(playerid, "SMSPoint") -=ammount);
return 1;
}

stock Givesms(playerid,ammount)
{
SetPVarInt(playerid, "SMSPoint", GetPVarInt(playerid, "SMSPoint") +=ammount);
return 1;
}

ty so much


Re: Please help me :) Plz - mineralo - 13.03.2013

pawn Код:
stock Getsms(playerid)
{
return GetPVarInt(playerid, "SMSPoint");
}

stock Givesms(playerid,ammount)
{
SetPVarInt(playerid, "SMSPoint", GetPVarInt(playerid, "SMSPoint") +ammount);
return 1;
}



Re: Please help me :) Plz - memeli11 - 13.03.2013

+rep ty