Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
You dont need "function setSkull".. just use this:
Code:
if getPlayerStorageValue(cid, 2000) == 1 then
doCreatureSetSkullType(cid,1)
elseif getPlayerStorageValue(cid, 3000) == 1 then
doCreatureSetSkullType(cid,2)
elseif getPlayerStorageValue(cid, 4000) == 1 then
doCreatureSetSkullType(cid,3)
end
As I've noticed, you're going to really have to spell out what he did wrong for him other wise he'll have no clue. Since he doesn't feel it necessary to learn a damn thing what so ever
You dont need "function setSkull".. just use this:
Code:
if getPlayerStorageValue(cid, 2000) == 1 then
doCreatureSetSkullType(cid,1)
elseif getPlayerStorageValue(cid, 3000) == 1 then
doCreatureSetSkullType(cid,2)
elseif getPlayerStorageValue(cid, 4000) == 1 then
doCreatureSetSkullType(cid,3)
end
You do need function setSkull in order to have a wait time like he regularly requested. Not to mention the way you have the script set up, no player will ever get past white skull because 1 of 2 reasons: 1. The order in which you're checking the storages. 2. You're not setting the previous storage to 0 when advancing to the next storage.
You do need function setSkull in order to have a wait time like he regularly requested. Not to mention the way you have the script set up, no player will ever get past white skull because 1 of 2 reasons: 1. The order in which you're checking the storages. 2. You're not setting the previous storage to 0 when advancing to the next storage.
You dont need "function setSkull".. just use this:
Code:
if getPlayerStorageValue(cid, 2000) == 1 then
doCreatureSetSkullType(cid,1)
elseif getPlayerStorageValue(cid, 3000) == 1 then
doCreatureSetSkullType(cid,2)
elseif getPlayerStorageValue(cid, 4000) == 1 then
doCreatureSetSkullType(cid,3)
end