[2013-07-12 18:19:42] SCRIPT ERROR: [gamemodes]/Gw/Basen/Grovebase.lua:74: 'then' expected near '='
Lua
local M4Picup = createPickup( 2505.1962890625, -1682.60546875, 13.546875, 31, 4000, 0)
function buyWeapongrove(thePlayer)
if getPlayerMoney(thePlayer) => 5999 then
outputChatBox("du hast soeben eine M4 gekauft! Sie hat dich 6000 $ gekostet!", thePlayer, 125, 125, 0)
givePlayerWeapon(thePlayer, 31, 300)
takePlayerMoney(thePlayer, 6000)
else
outputChatBox("du hast leider nicht genug Geld", thePlayer, 125, 125, 0)
end
end
/edit hat sich iwie n bisschen verschoben!