quick playerclass help.
#8

Quote:
Originally Posted by Markx
Посмотреть сообщение
Thats what i have showed you here example:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    switch(classid)
    {
        case 0:
        {
            //The first AddPlayerClass, SetPlayerPos, bla bla...
        }
        case 1:
        {
            //something here like SetPlayerCameraPos
        }
    }
}
Hope this helped.
Yes that what I was looking for lol, stupid me it was all the time in front of me!

anyway
pawn Код:
if(classid == 0)
    {
    GameTextForPlayer(playerid,"~b~Police Officer LS",5000,3);
    SendClientMessage(playerid, COLOR_GREEN, "Weapons You will get:");
    SendClientMessage(playerid, COLOR_GREEN, "M4");
    SendClientMessage(playerid, COLOR_GREEN, "Smoke Grande");
    SendClientMessage(playerid, COLOR_GREEN, "Deagle");
    SetPlayerCameraPos(playerid, -1675.6704,16.1953,89.4417);
    }
What did I do wrong? No errors, but the camera position is wrong is shows me the Santa maria beach instead of LSPD
Reply


Messages In This Thread
quick playerclass help. - by Mark_Weston - 06.07.2011, 23:52
Re: quick playerclass help. - by Kitten - 06.07.2011, 23:58
Re: quick playerclass help. - by Mark_Weston - 07.07.2011, 00:02
Re: quick playerclass help. - by Kitten - 07.07.2011, 00:04
Re: quick playerclass help. - by Markx - 07.07.2011, 00:06
Re: quick playerclass help. - by Mark_Weston - 07.07.2011, 00:08
Re: quick playerclass help. - by Markx - 07.07.2011, 00:26
Re: quick playerclass help. - by Mark_Weston - 07.07.2011, 00:35
Re: quick playerclass help. - by =WoR=Varth - 07.07.2011, 00:39
Re: quick playerclass help. - by Mark_Weston - 07.07.2011, 00:39
Re: quick playerclass help. - by Markx - 07.07.2011, 00:44
Re: quick playerclass help. - by Mark_Weston - 07.07.2011, 00:47

Forum Jump:


Users browsing this thread: 3 Guest(s)