#1

when i press f4 button class selection , after i chose a skin i spawn , and my skyn reset why ?
Reply
#2

We're not clairvoyant, you have to show us some code (OnPlayerSpawn?) so we can see what's wrong.
Reply
#3

Please show us your coding on OnPlayerSpawn and OnPlayerUpdate
Reply
#4

Perhaps you can show us what's under OnPlayerSpawn.
Reply
#5

new Peds[70][1] = {
{1}, {2}, {3}, {7}, {10}, {14}, {15}, {16}, {18}, {20}, {23}, {27}, {28}, {29}, {31}, {32}, {33}, {34}, {36}, {37},
{38}, {39}, {44}, {45}, {49}, {50}, {51}, {53}, {58}, {60}, {62}, {64}, {72}, {73}, {75}, {78}, {79}, {81}, {82},
{85}, {87}, {88}, {89}, {91}, {92}, {95}, {96}, {97}, {101}, {134}, {139}, {146}, {152}, {155}, {159}, {162},
{170}, {182}, {183}, {197}, {203}, {204}, {210}, {217}, {230}, {231}, {237}, {238}, {242}, {250}
};

public OnPlayerRequestClass(playerid, classid)
{
PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];

after registration step same public
PlayerInfo[playerid][pModel] = Peds[classid][0];
}
PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];

public OnGameModeInit()
for(new i = 0; i <= sizeof(Peds)-1; i++)
{
AddPlayerClass(Peds[i][0],1958.3783,1343.1572,1100.3746,269.1425,-1,-1,-1,-1,-1,-1);
}
Reply
#6

show us code of following functions

Код:
OnPlayerSpawn
OnPlayerRequestSpawn
OnPlayerRequestClass
Reply
#7

OnPlayerRequestSpawn i don't have it
OnPlayerSpawn i have nothing there for peds
OnPlayerRequestClass: PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];

after registration step same public
PlayerInfo[playerid][pModel] = Peds[classid][0];
}
PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];

public OnGameModeInit()
for(new i = 0; i <= sizeof(Peds)-1; i++)
{
AddPlayerClass(Peds[i][0],1958.3783,1343.1572,1100.3746,269.1425,-1,-1,-1,-1,-1,-1);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)