function onLogin(cid)
local storageValue = 12345 [B]-- this is the storage value we will use[/B]
if getPlayerStorageValue(cid, storageValue) == -1 then [B]-- this line checks if they have already been given the storage value, in this case if they have received their first items yet[/B]
doPlayerAddItem(cid,2120,1) [B]-- rope[/B]
doPlayerAddItem(cid,2554,1) [B]-- shovel These lines give the player their items.[/B]
doPlayerAddItem(cid,2152,10) [B]-- 10 platinum coins[/B]
setPlayerStorageValue(cid, storageValue, 1) [B]-- This line gives the player the storage value[/B]
end
return TRUE
end