question close
#1

question close
Reply
#2

You're adding another section to the function.

SetPlayerPos has four things, the playerid, X, Y & Z... You're adding the Rotation too, simple remove the last few numbers after the last , comma.

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerTeamFromClass(playerid, classid);
if(classid == 0)
{
GameTextForPlayer(playerid,"EUROPA",3000,3);
SetPlayerPos(playerid, 210.6708,1822.9215,7.4063); 252
SetPlayerCameraPos(playerid, 210.6708,1822.9215,7.4063); 253
SetPlayerCameraLookAt(playerid, 210.6708,1822.9215,7.4063); 254
}
if(classid == 1)
{
GameTextForPlayer(playerid,"VS",3000,3);
SetPlayerPos(playerid, 210.6708,1822.9215,7.4063); 259
SetPlayerCameraPos(playerid, 210.6708,1822.9215,7.4063); 260
SetPlayerCameraLookAt(playerid, 210.6708,1822.9215,7.4063); 261
return 1;
}
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)