New skin - 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: New skin (
/showthread.php?tid=171417)
New skin -
tofiffe - 26.08.2010
I'd like to know how to add a new skin to my gamemode, i use the lvdm gamemode. what files do i need and what to add?
and how could i add something to be avalible to all players, so when they'd type /suicide, they'd kill themself?
Re: New skin -
XtremePlanet - 26.08.2010
Hey,
Below "OnGameModeInit()", add this
pawn Код:
AddPlayerClass(104,-543.4429,2573.9592,53.5156,270.4008,0,0,0,0,0,0); // Ballas 3 - 4
You can add as many as you want, here are all san andreas skin id's =
https://sampwiki.blast.hk/wiki/Category:Skins
Here's a simple /kill command, that you add below "OnPlayerCommandText"
pawn Код:
if(strcmp(cmdtext, "/kill", true) == 0)
{
SetPlayerHealth(playerid, 0);
return 1;
}
Re: New skin -
tofiffe - 26.08.2010
i got a mod for terminator look for cleo script, i got a txd file and a dff file, so i guess it's not just that...advice?
Re: New skin -
Sergei - 26.08.2010
You can't have serverside mods. Tell you players to download and install that mod manually.
Re: New skin -
tofiffe - 26.08.2010
er...the mod only works for SP, i want to make it for mp...
Re: New skin -
Souvlaki - 26.08.2010
Try this
http://forum.sa-mp.com/showthread.ph...ht=server+mods
Re: New skin -
tofiffe - 27.08.2010
you have to have hosted server for this?
Re: New skin -
XtremePlanet - 27.08.2010
tofiffe you can't install mods in..multiplayer. Yes with that link above you can but it's huge, and not everyone wants it.
Re: New skin -
tofiffe - 27.08.2010
ok thanks...now i got another problem: 1 of my fs don't work on 0.3b, it worked fine on 0.3a, i get no errors trying to recompile it...or should i ask someone to merge it with my gamemode?
Re: New skin -
tofiffe - 31.08.2010
i have a problem with executing the gamemode script:
Runtime error 19: "File or Function is not found!"