SA-MP Forums Archive
Two question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Two question (/showthread.php?tid=308639)



Two question - BGMike - 04.01.2012

First question is how to make when I connect to the server the camera pos for player to be another when he need to login in his account.
Now the camera when a player connected to the server looks like:
/imageshack/img252/3189/samp259a.png

But when the player wrong his password the camera is changing as I like to looks when the player connected.
I want when player is connected the camera pos to be like:
/imageshack/img713/3884/samp260b.png

Second question is when I wrong the password below appear the buttons for RequestClass and when I pressed Spawn button I'm spawned. And the question is how do I make when I push the button Spawn to do nothing ?


Re: Two question - vassilis - 04.01.2012

SetPlayerCameraPos
SetPlayerCameraLookAt


Re: Two question - BGMike - 04.01.2012

Quote:
Originally Posted by vassilis
Посмотреть сообщение
SetPlayerCameraPos
SetPlayerCameraLookAt
I put this OnPlayerConnect and not working


Re: Two question - vassilis - 04.01.2012

are you using register system?

if yes you have to use it on certain times:
example if your database is made by dini
pawn Код:
if(Dini_Exist)
{
SetCameraPos
SetCameraLookAt
SCM(playerid,-1,"...");
}
if(!fexists)
{
.....
}



Re: Two question - BGMike - 04.01.2012

Quote:
Originally Posted by vassilis
Посмотреть сообщение
are you using register system?
Yes.


Re: Two question - xXLas_VegasXx - 04.01.2012

Make it with " OnPlayerRequestClass " not on PlayerConnect !!!
if i helped u plz give me a repuration point


Re: Two question - vassilis - 04.01.2012

Quote:
Originally Posted by xXLas_VegasXx
Посмотреть сообщение
Make it with " OnPlayerRequestClass " not on PlayerConnect !!!
if i helped u plz give me a repuration point
Another Kid who count the reputation points...what you will get if you earn reputation points?fame?


Re: Two question - BGMike - 04.01.2012

vassilis I have an error:

C:\Documents and Settings\Usr\Desktop\SERVER\gamemodes\construction .pwn(65) : error 017: undefined symbol "SCM"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Re: Two question - [ABK]Antonio - 04.01.2012

Quote:
Originally Posted by BGMike
Посмотреть сообщение
vassilis I have an error:

C:\Documents and Settings\Usr\Desktop\SERVER\gamemodes\construction .pwn(65) : error 017: undefined symbol "SCM"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
SCM = SendClientMessage, he has it changed to SCM instead of the regular


Re: Two question - BGMike - 04.01.2012

Alright, I tried this but still not working.