Error STAY WITHIN THE WORLD BOUNDRIES :| .. -
radiobizza - 30.07.2013
Hi everyone.
I put a gamemode on the server and when I go on it says this:
I do not know what to do or where to go to fix.
Re: Error STAY WITHIN THE WORLD BOUNDRIES :| .. -
-Prodigy- - 30.07.2013
Put an AddPlayerClass in OnGameModeInit
Re: Error STAY WITHIN THE WORLD BOUNDRIES :| .. -
radiobizza - 30.07.2013
Quote:
Originally Posted by -Prodigy-
Put an AddPlayerClass in OnGameModeInit
|
Give me the script please

3
Re: Error STAY WITHIN THE WORLD BOUNDRIES :| .. -
Konstantinos - 30.07.2013
Quote:
Originally Posted by radiobizza
Give me the script please  3 
|
****** it: samp AddPlayerClass
and add one of the lines into OnGameModeInit. It's not that hard!
Re: Error STAY WITHIN THE WORLD BOUNDRIES :| .. -
radiobizza - 30.07.2013
Is good this ?
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
Re: Error STAY WITHIN THE WORLD BOUNDRIES :| .. -
Konstantinos - 30.07.2013
Yes.
Make sure it's inside OnGameModeInit callback like the example is shown in the WIKI.
Re: Error STAY WITHIN THE WORLD BOUNDRIES :| .. -
radiobizza - 30.07.2013
Everything shows me.
I put this:
PHP код:
public OnGameModeInit()
{
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
SetTimer("Counter",1000,1);
...
Re: Error STAY WITHIN THE WORLD BOUNDRIES :| .. -
radiobizza - 31.07.2013
I make good?
PHP код:
public OnGameModeInit()
{
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
SetTimer("Counter",1000,1);
...
Re: Error STAY WITHIN THE WORLD BOUNDRIES :| .. -
radiobizza - 31.07.2013
I found something..
On OnGameModeInit()
PHP код:
for(new i = 0; i <= sizeof(Peds)-1; i++)
{
AddPlayerClass(23,2494.6816,-1671.1151,-7.5721,271.3298,-1,-1,-1,-1,-1,-1);
}
Re: Error STAY WITHIN THE WORLD BOUNDRIES :| .. -
SuperViper - 31.07.2013
Just put a blank
AddPlayerClass with 0 as the parameters if you already have the rest of your spawning system worked out. At least 1 class is required or SA-MP will do that weird thing.