Problem with login screen, streamer and commands!
#1

Hello!

I have few problems, what i can't fix, so i ask help from you guys. Of course i give +rep to everyone, who helps me to find a solution.

1. Problem - login screen!
If i change interior something else than "0", then i spawn in wrong interior and i can't see anything around me.
But if i put interior 0 then i can't see login screen backround and character floats, but when i spawn, then everything is normal.



public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1220.0737,-6.3703,1001.3281);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid,92.3402);
SetPlayerCameraPos(playerid,1214.3527,-6.4071,1001.3290);
SetPlayerCameraLookAt(playerid, 1220.0737,-6.3703,1000.3281);
return 1;
}

2. Problem with streamer and i already tried to add .dll and remove it, nothing changes. I have windows!
I have streamer in server.cfg. but somehow it fails to start, why is that so?

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[12:56:23]
[12:56:23] Server Plugins
[12:56:23] --------------
[12:56:23] Loading plugin: Whirlpool
[12:56:23]
[12:56:23] ==================
[12:56:23]
[12:56:23] Whirlpool loaded
[12:56:23]
[12:56:23] ==================
[12:56:23]
[12:56:23] Loaded.
[12:56:23] Loading plugin: streamer.dll
[12:56:24] Failed.
[12:56:24] Loaded 1 plugins.

3. When i write a command, then command works perfectly, but i also get unknown command error...

Reply
#2

you forget to return true; in your commands
Reply
#3

Quote:
Originally Posted by Don_Cage
Посмотреть сообщение
you forget to return true; in your commands
Okay, can you give me a example? I'm little bit confused.

Quote:
Originally Posted by ******
Посмотреть сообщение
You need to set the interior both when you select a class AND when you spawn.
Okay, where can i find the other interior?

P.S! I'm new in scripting world, sorry and don't be mad at me please!
Reply
#4

Download a filterscript for interiors just search on samp forum and then do /save while looking and standing where u want u to login... then add it to login positions
Reply
#5

uhuuhm
Reply
#6

Someone please give me beginner friendly explanation for those problems! + rep of course! :P
Reply
#7

which interior you want?
http://weedarr.wikidot.com/interior
Reply
#8

Strip club 2 1204.809936,-11.586799,1000.921875
Reply
#9

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1204.809936,-11.586799,1000.921875);
    SetPlayerInterior(playerid,2);
    SetPlayerFacingAngle(playerid,92.3402);
    SetPlayerCameraPos(playerid,1214.3527,-6.4071,1001.3290);
    SetPlayerCameraLookAt(playerid, 1220.0737,-6.3703,1000.3281);
    return 1;
}
Reply
#10

Thank you, but.. Now i can't see skins on class selection and i spawn into wrong interior.
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)