• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

NPC Soft Boots repairer NPC 7.6

Zolax

New Member
Joined
Feb 16, 2011
Messages
97
Reaction score
1
Hello I need npc who change old soft for new for 5cc full script plx. Yurots 0.94f 7.6
 
Code:
if msgcontains(msg, 'repair') or msgcontains(msg, 'worn') then
if getPlayerItemCount(cid, itemid) >= 1 then-- this should be the worn soft boots
if doPlayerRemoveMoney(cid, 50000) == 1 then
doPlayertakeitem(cid, wornbootsid)
doPlayerRemoveMoney(cid, 50000)
doPlayerAddItem(cid, softbootsid, 1)
else
selfSay:('you dont have any money')
end
else
selfSay:(you dont have worn boots')
end
end

might made some mistakes..
 
Back
Top