-
Posts
77 -
Joined
-
Last visited
Everything posted by Resmurf
-
I know what u meant, i wrote on wrong thread
-
i tried making Online sesion and total online time and wanted stars but i just tried with wanted and got a error ;S local starttick, currenttick local player = getLocalPlayer() addEventHandler("onClientRender",getRootElement(), function() if not starttick then starttick = getTickCount() end currenttick = getTickCount() if currenttick - starttick >= 1000 then setElementData(player,"Wanted",getPlayerWantedLevel( player ) ) starttick = getTickCount() end end ) function updatestars() for k, v in ipairs(getElementsByType('player')) do local Wanted = getPlayerWantedLevel(v) setElementData(v,"Wanted",star ) end end setTimer(updatestars, 1000000, 0) Help please
-
Turbo should put release this on community, Leechers coming ...
-
Thansk both now its working
-
i get this this error and warning: '}' expected near '['
-
i still can join the car, then it kicks me, like i had before
-
Allright sir, ill be waiting (:
-
I would like to join your team, im not a good coder, but im a responsable guy, if you need me, just pm me i will be glad to join your team ^^
-
I want to make people dont even join the car (restricted vehicles) i got this script that kicks people out of the car, but i wanna make it to dont even join. copVehicles = { [523]=true,[598]=true[596]=true,[597]=true,[599]=true} copSkins = { [280]=true,[281]=true[282]=true,[283]=true,[284]=true,[288]=true } function copenterVehicle ( player, seat, jacked ) if ( copVehicles[getElementModel ( source )] ) and ( not copSkins[getElementModel ( player )] ) and ( seat == 0 ) then removePedFromVehicle ( player )--force the player out of the vehicle outputChatBox ( "You aren't a Police Officer , you mayn't drive this.", player ) --and tell the player why end end addEventHandler ( "onVehicleEnter", getRootElement(), copenterVehicle )
-
A buttom were we can give a reward to people helped us, such a thanks buttom and it says how many times he been thanked or reputation buttom.
-
one problem when u change team, the color don't change. only if you respawn and if you logout the blips stay where u logged
-
no i mean, the script requires spawn to start working
-
they both work, thanks, just need the player to spawn.
-
nope still not working edit: nvm i got it working, i respawned
-
no errors but theres no blips in the map
-
forums is glitched put it with instead of [lua] cause i get KW2 with lua
-
use [.code=text] [./code] please i just remove it or replace with something?
-
i removed and got the same error test it by urself
-
[2011-06-12 12:36:45] SCRIPT ERROR: playerblips\playerblips.lua:3: 'then' expected near 'kw2' [2011-06-12 12:36:45] WARNING: Loading script failed: playerblips\playerblips.lua:3: 'then' expected near 'kw2' [2011-06-12 12:36:45] playerblips restarted successfully
-
Not working Resource 'playerblips' changed, reloading and starting [2011-06-12 12:24:23] Starting playerblips [2011-06-12 12:24:23] SCRIPT ERROR: playerblips\playerblips.lua:7: 'end' expected (to close 'if' at line 3) near 'elseif' [2011-06-12 12:24:23] WARNING: Loading script failed: playerblips\playerblips.lua:7: 'end' expected (to close 'if' at line 3) near 'elseif' [2011-06-12 12:24:23] playerblips restarted successfully
