13.04.2010, 19:17
*
PlayerInfo[playerid][pModel] = X;
DON'T HATE ME ABOUT MY ENGLISH, IM A DUTCH GUY!
Originally Posted by playbox12
Код:
DON'T HATE ME ABOUT MY ENGLISH, IM A DUTCH GUY! |
Originally Posted by Jay420
How do you save your skin in your script? And what script are you using?
If you're using a GF edit, look for something like this: pawn Код:
|
PlayerInfo[playerid][pSkin]
Originally Posted by Jay420
How do you save your skin in your script? And what script are you using?
If you're using a GF edit, look for something like this: pawn Код:
|
You haven't enough money
You don't have enough money
Originally Posted by Seif_
Show us your OnPlayerSpawn.
|
public OnPlayerSpawn(playerid)
{ if(pdebug == 1){printf("[DEBUG] OnPlayerSpawn(%d)", playerid);}
// Normal stuff:
SetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
SetPlayerArmour(playerid, PlayerInfo[playerid][pArmour]);
StopSoundForPlayer(playerid);
gTeam[playerid] = PlayerInfo[playerid][pTeam]; // Set the player in a team.
SetPlayerSpawn(playerid); // Set the player's spawn place.
SetPlayerWeapons(playerid); // Set the player's spawn weapons.
SetPlayerTeamColor(playerid); // Set the player's spawn color.
SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
// To sync mission checkpoints.
if(CheckpointBusyX != 0.0 && CheckpointBusyY != 0.0 && CheckpointBusyZ != 0.0){SetPlayerCheckpoint(playerid, CheckpointBusyX, CheckpointBusyY, CheckpointBusyZ, CheckpointBusyS);}
if(PlayerLoggedIn[playerid] == 0){GameTextForPlayer(playerid, "~w~Welcome,~n~In order to play you need to create an account, type ~n~~r~/register (password)~w~ to register.", 20000, 4);} // did stolen it from PEN :D
return 1;
}