Scripting Help for New server, moved to scripting disscussion
#2

in lvdm there's OnGameModeInit function

sample of the non edited LVDM
pawn Code:
public OnGameModeInit()
{
    SetGameModeText("Ventura's DM~MG");

    ShowPlayerMarkers(1);
    ShowNameTags(1);
   
    // 0.2.2 specific stuff
    //DisableInteriorEnterExits();
    //SetNameTagDrawDistance(10.0);
    //EnableStuntBonusForAll(0);
   
    /* Was testing the new pickup limit.
    new Float:pickX=2040.0520;
    new Float:pickY=1319.2799;
    new Float:pickZ=10.3779;
    new x=0;
    while(x!=400) {
        AddStaticPickup(1272,2,pickX,pickY,pickZ);
        pickY+=1.0;
        x++;
    }*/


    // Player Class's
    AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
 
265- Skin ID
265,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300 -spawn coords
24- is a weapon id ( eagle )
300- is the ammount of ammo on the spawn
Just change the weapon id to whatever you want

Reply


Messages In This Thread
Scripting Help for New server, moved to scripting disscussion - by Guardian - 02.06.2009, 23:56
Re: Scripting Help for New server, moved to scripting disscussion - by *ToM* - 03.06.2009, 00:03
Re: Scripting Help for New server, moved to scripting disscussion - by miokie - 03.06.2009, 06:29

Forum Jump:


Users browsing this thread: 1 Guest(s)