16.03.2013, 00:30
1.How to have character at select class
2.And how to change forms walk and run(Space)
2.And how to change forms walk and run(Space)
UsePlayerPedAnims();
GameTextForPlayer
public OnPlayerConnect(playerid)
{
new string[90];
format(string,sizeof(string),"~b~Welcome to my server!");
GameTextForPlayer(playerid, string, 3000, 3);
return 1;
}
AddPlayerClass(93,1132.8715,-2036.8917,69.0078,270.5003,27,600,31,700,29,1000); // AddPlayerClass(294,1132.8715,-2036.8917,69.0078,270.5003,27,600,31,700,29,1000); // AddPlayerClass(295,1132.8715,-2036.8917,69.0078,270.5003,27,600,31,700,29,1000); // AddPlayerClass(120,1132.8715,-2036.8917,69.0078,270.5003,27,600,31,700,29,1000); // AddPlayerClass(208,1132.8715,-2036.8917,69.0078,270.5003,27,600,31,700,29,1000); //
public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1132.8715,-2036.8917,69.0078); SetPlayerFacingAngle(playerid,90.0); SetPlayerCameraPos(playerid, 1132.8715,-2036.8917,69.0078); SetPlayerCameraLookAt(playerid, 1132.8715,-2036.8917,69.0078); return 1; }
public OnPlayerConnect(playerid) { GameTextForPlayer(playerid,"~r~Hello!",10000,6); new name[MAX_PLAYER_NAME], str[80]; GetPlayerName(playerid,name,sizeof(name)); format(str, sizeof(str), "%s has connected to Alpha-X!", name); SendClientMessageToAll(COLOR_AQUA, str);
switch(classid)
{
case 0: GameTextForPlayer(playerid, "~w~Class 0", 1000, 3);
}