how can i add trains and how to add site ? -
Konrads - 22.03.2009
hello i got a question about trains and to put site .
Ok i got a server and it is PEN SF mode but as i dont have any trains there i want to add them.
How can i add trains to my server how and where,can u guys tell me how to add trains please.
I also need to add somethnig like /site to people see our website forums .
Re: how can i add trains and how to add site ? -
Basss - 22.03.2009
lol search id on wiki and use a admin script or sthing else to create a train... drive it to the right position where you wantto have it and save the position
cheeerz
Re: how can i add trains and how to add site ? -
OGganza - 22.03.2009
but how do you save that position
do you just do /save
??
Re: how can i add trains and how to add site ? -
Konrads - 22.03.2009
Well for the id i know now but as the position can u put here something like a code to i add there cause i dont undesrtand what u saying
Re: how can i add trains and how to add site ? -
propilot - 22.03.2009
example:
Addstaticnoob (1275,1,207.0323,-129.8516,1003.507
;
and /site
use this
if(strcmp(cmd, "/site", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_GRAD1,"our website is
www.balbal.com");
SendClientMessage(playerid, COLOR_GRAD1,"our fourm is
www.forum.balbal.com");
}
return 1;
}
Re: how can i add trains and how to add site ? -
Konrads - 22.03.2009
Quote:
Originally Posted by propilot
example:
Addstaticnoob (1275,1,207.0323,-129.8516,1003.507 ;
and /site
use this
if(strcmp(cmd, "/site", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_GRAD1,"our website is www.balbal.com");
SendClientMessage(playerid, COLOR_GRAD1,"our fourm is www.forum.balbal.com");
}
return 1;
}
|
I try to add this but when i go to my server i try to type /site but it dont works .
where is thsi code to put can u tell me and is thsi on my mode PEN SF pwn or is other place.
If u want send me a pm i send to u my pen sf mode and u can change thsi if u can cause i dont know i try and nothnig works i dont see a thing
Re: how can i add trains and how to add site ? -
FUNExtreme - 22.03.2009
Place it at: OnPlayerCommandText
Re: how can i add trains and how to add site ? -
MenaceX^ - 22.03.2009
pawn Код:
if(!strcmp(cmd,"/site",true)) return SendClientMessage(playerid,0xFFFFFFAA,"forum.sa-mp.com.");
But this code might have respond you a message - "SERVER: Unknown command."
I ain't sure about that.
Re: how can i add trains and how to add site ? -
Weirdosport - 22.03.2009
Why the crap do you need IsPlayerConnected? (person above who used it)
How can someone that is not connected have called a command?
Re: how can i add trains and how to add site ? -
Konrads - 24.03.2009
Thx m8 for teh help.
Other thing is now i want to put this with color like yelow can u tell me wht is code to put on that,also i need to know the exact location to put tram and train in SF cause i dont know where are the veicules in my PEN SF PWN and to they stay there.