SA-MP Forums Archive
[QUESTION] A doubt. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [QUESTION] A doubt. (/showthread.php?tid=252906)



[QUESTION] A doubt. - Clueless - 03.05.2011

How can I add mapping ingame? For example this:
http://pastebin.com/zMsHfbgz


Re: [QUESTION] A doubt. - Venice - 03.05.2011

put this on ongamemodeinit in ur gm and press F5


Re: [QUESTION] A doubt. - Clueless - 03.05.2011

Not possible lol, can you show me the code please?


Re: [QUESTION] A doubt. - Calgon - 03.05.2011

CTRL+F
Enter "OnGameModeInit" in Pawno when the Search & Replace feature loads
Find some space in the function and paste the code
Hit F5, copy the AMX to where your server is if it's not where it was compiled to

It is very possible...


Re: [QUESTION] A doubt. - Clueless - 03.05.2011

Its in your GM (vortex) can you tell me exactly place? dont wanna fuck it up


Re: [QUESTION] A doubt. - Joe Staff - 03.05.2011

Find this:
pawn Код:
public OnGameModeInit()
{
    //A bunch of code
}
and add them here
pawn Код:
public OnGameModeInit()
{
    CreateObject(...);
    CreateObject(...);
    CreateObject(...);
    CreateObject(...);
    //A bunch of code
}



Re: [QUESTION] A doubt. - Clueless - 03.05.2011

Thank you, added.

Could you help me making a /credits command please?
(My GM uses zcmd)


Re: [QUESTION] A doubt. - Laronic - 03.05.2011

pawn Код:
COMMAND:credits(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFAA, "ZeeX - zcmd");
    SendClientMessage(playerid, 0xFFFFFFAA, "CyberGhost - making the /credits command");
    SendClientMessage(playerid, 0xFFFFFFAA, "Then so on");
    return 1;
}



Re: [QUESTION] A doubt. - Clueless - 03.05.2011

Thank you cyber, I'll add you into the credits since you already helped me twice, could you help me again please? xD I'm a newbie still

If you have a xfire pm me the info, if not tell me and I'll post it here