Whats Wrong Here?
#3

You have two brackets ( { ) before you start the code.Delete one. And you have two brackets ( } ) after return.
So final code looks
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 222.1653,1823.0802,6.4141);
    SetPlayerFacingAngle(playerid, 269.1334);
    SetPlayerCameraPos(playerid, 224.1104,1823.0507,6.4141);
    SetPlayerCameraLookAt(playerid, 222.1653,1823.0802,6.4141);

    gClass[playerid] = classid;
    return 1;
}
EDIT: Don, we was writing in same time.
Reply


Messages In This Thread
Whats Wrong Here? - by Danikov - 21.10.2009, 18:15
Re: Whats Wrong Here? - by Correlli - 21.10.2009, 18:21
Re: Whats Wrong Here? - by Luka P. - 21.10.2009, 18:23

Forum Jump:


Users browsing this thread: 1 Guest(s)