SA-MP Forums Archive
[GameMode] [MY FIRST Server]Dm Server - 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: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] [MY FIRST Server]Dm Server (/showthread.php?tid=472633)



[MY FIRST Server]Dm Server - Kells - 29.10.2013

Kells Server !!
First Server (after crashing for some time)



>>>Descreption<<<
This Server Script Made By me 100% and its my first server from the time i have been crashed and it hasn't admin commands i could make cool ones but............. as i see i have problems with my system !!
(problem with Zcmd/sscanf2///irc idk how to fix it

>>>Information<<<
this server have 3 teams and you can dont choose you can type /team1 or /team2 or /team3 (its only for admins i mean u need rcon logni (/rcon login mypass)
you won't have any problem when you edit it its verry simple
i haven't time to make cars for it but you can make it this is for beginners

>>>Commands<<<
Commands:
Quote:

/cmds
/credits
/forum
/help
/admins
/team[1/2/3]
/armourme
/healme
/spawnme
/relog
/hello (says hello to all)

all commands are tested and works 100% without any bugs please tell us if you found one


>>>Bugs<<<
NOT FOUND!!
>>>Credits<<<
>>>Credits Goes To kells (me)<<<
>>>How To make command<<<
1-first you need to make cmd
Quote:

CMD:yourcommand(playerid,params[])

change 'yourcommand' to a command you want lets try 'car'
Quote:

CMD:car(playerid,params[])

2-now dont forget the
Quote:

{

here now :
Quote:

CMD:money(playerid,params[])
{

3-make the command info:
Quote:

CreateVehicle()

dont forget to do this controls :
Quote:

CreateVehicle(playerid,411);

now the Red number is the car id put any car id here are the ids :
https://sampwiki.blast.hk/wiki/Vehicle_Model_ID_List
---- now the:
Quote:

CreateVehicle(playerid,411);
dont forget that
now here lets make a message :
Quote:

SendClientMessage(playerid, 0xFFFFFF, "you have spawned a car");

now dont forget the return1;
Quote:

return 1;
}

Finally here the all command
Quote:

CMD:car(playerid,params[])
{
CreateVehicle(playerid,411);
SendClientMessage(playerid, 0xFFFFFF, "you have spawned a car");
return 1;
}

>>>Download<<<
Quote:

for Pwn : http://www.mediafire.com/?bhobdjl1db2who3
And AMX: http://www.mediafire.com/?afcnh11yrgel0rx
i hope that helped for newbies and even for other


Re: [MY FIRST Server]Dm Server - DStreet - 29.10.2013

Very nice work here my friend, keep it up


Re: [MY FIRST Server]Dm Server - DanishHaq - 29.10.2013

Quote:

>>>How To make command<<<
1-first you need to make cmd
Quote:
CMD:yourcommand(playerid,params[])
change 'yourcommand' to a command you want lets try 'car'
Quote:
CMD:car(playerid,params[])
2-now dont forget the
Quote:
{
here now :
Quote:
CMD:money(playerid,params[])
{
3-make the command info:
Quote:
CreateVehicle()
dont forget to do this controls :
Quote:
CreateVehicle(playerid,411);
now the Red number is the car id put any car id here are the ids :
https://sampwiki.blast.hk/wiki/Vehicle_Model_ID_List
---- now the:
Quote:
CreateVehicle(playerid,411);
dont forget that
now here lets make a message :
Quote:
SendClientMessage(playerid, 0xFFFFFF, "you have spawned a car");
now dont forget the return1;
Quote:
return 1;
}
Finally here the all command
Quote:
CMD:car(playerid,params[])
{
CreateVehicle(playerid,411);
SendClientMessage(playerid, 0xFFFFFF, "you have spawned a car");
return 1;
}

What? Everything is wrong in that:

1: Indention
2: CreateVehicle, parameters gone on holiday or something?
3: SendClientMessage, color needs to have the alpha characters too!

Here's an actual proper /car command, sort of your nature:

pawn Code:
CMD:car(playerid, params[])
{
     new Float:x, Float:y, Float:z, Float:f;
     GetPlayerPos(playerid, x, y, z);
     GetPlayerFacingAngle(playerid, f);
     CreateVehicle(411, x, y, z, f, -1, -1, -1);
     SendClientMessage(playerid, 0xFFFFFFFF, "You spawned a car.");
     return 1;
}
If the rest of the GM's has problems like this, I rate it 2/10.


Re: [MY FIRST Server]Dm Server - Kells - 29.10.2013

sorry for that it won't happen again -_- sorry