Errors... (server)
#1

Hello everyone!

Firstly, I want to make it clear that I am fairly new to this and I get really confused, I am part of a 3-man team trying to make our own server for our friends to play, we want to make it really good and fun.

What you are about to read is extremely noobish and stupid but we are really confused right now...

I get a lot of errors and have some questions since I'm new to making a server. We have already setup our server.cfg file and when we enter a gamemode (GM) and copy the GM in the folder, sometimes it doesn't load and it gets al jacked up when we spawn. SO we try NEW ones, then when they DO work, our filescripts (FS) don't work.

PRIMARY QUESTION: Almost everytime we want to launch our server the black server window opens and closes instead of staying opened, we have no idea why this happens, we look at our server.cfg file and the FS exist, the GM exists but the server window doesn't stay open. It just opens and closes.

We already tried out other GM's but there are some we want to use but don't work. Some rars come with a bunch of folders just like the SA-MP server folder and can't figure out what to do with those files.

We want it to have menus for weapon/vehicle selection, score system, teleports, clans, etc. But when we download the FS for it, the commands specified don't work, like for example we want teleport to a jump that we insert in the FS folder and we put the name in the cfg but we want a teleport to go to it with a command and we cant figure out how to us it, we launch and the server window closes right after we open it.

Example: we inserted the jump but we now need to know how to insert the teleport command in Pawno with the following code, idk where to insert and how to save it...

Код:
 if(strcmp(cmdtext,"/sj",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"Super Jump",4000,6);
return SetVehiclePos(vehicleid,(1394.7571,-2425.7009,525.6313));
}
SetPlayerPos(playerid,(1394.7571,-2425.7009,525.6313));
GameTextForPlayer(playerid,"Super Jump",4000,6);
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)