maybe like this (when player join server) use:
local flag = call(getResourceFromName("admin"), "getPlayerCountry", source)
setElementData(source,"Country",flag)
and ofcourse add scoreboard collumn called "Country" @ onResourceStart.
Hello
I have been working on movie - .adrenaline THE MOVIE
and here's the trailer that shows gameplay in one of PCP's gamemodes - #bomb da base.
Click on the image below to watch. I hope you like it!
Video: http://pcpgang.net/adrenaline/
Full version coming soon. Stay tuned!
try this converter: http://gtamap.delux-host.com/converter/
the correct format for objects in mtadm map:
<object name="object (2)" posX="2657.447510" posY="1254.248047" posZ="18.519930" rotX="0.0000" rotY="0.0000" rotZ="0.0000" model="4576" />
1,2,4 - YES
Ad1: Server side
local x, y, z = getElementPosition(source)
local lolz = math.random( 22, 138 ) --//-- skin ID
ped = createPed( lolz, x +1, y, z +1)
setTimer( giveWeapon,1000,1, ped, 31, 100, true )