How can you define functions from singleplayer?
#1

Here is my question:
I found a program wich allows you to check the singleplayer script. This program includes a file (KEYWORDS) that includes all functions from singleplayer.
View the file here: http://pastebin.com/m71fb12f5

It contains very usefull functions like: CreateFire of isfireextinguished. There are over 200 of these function, most of them very usefull for servers.
But I don't know how to intergrate them into my server. I tried it with createfire, but no luck this far.

I would be most pleased if somebody could help me with this.
Reply
#2

Try something like this:

pawn Код:
if(singleplayer == multiplayer)
{
 SetLolForPlayer(playerid, 1337);
 return 0;
}
else if(singleplayer != multiplayer)
{
 return 1;
}
After you compile this you get: Singleplayer is not multiplayer lol
Reply
#3

I don't get it :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)