yanger
Banned User
How to add to every players ~5 days of VIP? ty
function onLogin(cid)
local id = xxxx
local VipID = xxxx
if (getPlayerStorageValue(uid, id == 1)) then
return true
else
doPlayerSetStorageValue(uid, VipID, 5)
doPlayerSetStorageValue(uid, id, 1)
end
end
function onLogin(cid)
local id = 1
local VipID = 5785
if (getPlayerStorageValue(uid, id == 1)) then
return true
else
doPlayerSetStorageValue(uid, VipID, 5)
doPlayerSetStorageValue(uid, id, 1)
end
end
ok so can it be like this?
Id of medal of honour is 5785
Code:function onLogin(cid) local id = 1 local VipID = 5785 if (getPlayerStorageValue(uid, id == 1)) then return true else doPlayerSetStorageValue(uid, VipID, 5) doPlayerSetStorageValue(uid, id, 1) end end
PHP:UPDATE accounts SET premdays = premdays + 5;
easiereace:
no, its not a must to make it over 10000, it can be 1 or 2 or 3 etcno -.-
Cmon...
ID = like 13999
VipID = THE FU**ING ID YOU GET WHEN YOU USE THE MEDAL.. NOT the medal
no, its not a must to make it over 10000, it can be 1 or 2 or 3 etc