SA-MP Forums Archive
WhoreShop - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: WhoreShop (/showthread.php?tid=141514)



WhoreShop - sjvt - 13.04.2010

*


Re: WhoreShop - Jay420 - 13.04.2010

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][pModel] = X;
About other scripts, we need to know how you're saving your stats etc.




Re: WhoreShop - playbox12 - 13.04.2010

Код:
DON'T HATE ME ABOUT MY ENGLISH, IM A DUTCH GUY!
I am Dutch aswell, my english is good. So don't use that as an excuse for your bad english grammar.


Re: WhoreShop - sjvt - 13.04.2010

Quote:
Originally Posted by playbox12
Код:
DON'T HATE ME ABOUT MY ENGLISH, IM A DUTCH GUY!
I am Dutch aswell, my english is good. So don't use that as an excuse for your bad english grammar.
off topic, what i have no english more :/ and im 15 years old, so and my english is very bad so don't cry



Re: WhoreShop - sjvt - 13.04.2010

Quote:
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][pModel] = X;
About other scripts, we need to know how you're saving your stats etc.

My Playerinfo is

Код:
PlayerInfo[playerid][pSkin]



Re: WhoreShop - sjvt - 13.04.2010

Quote:
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][pModel] = X;
About other scripts, we need to know how you're saving your stats etc.

what do you mean? we need to know how you are saving your stats? with SaveAllStats(); and UpdatePlayer(i); // Save the stats of the player.


Re: WhoreShop - Steven82 - 14.04.2010

Hey and this?


Код:
 You haven't enough money
What the hell tht mean you want this instead?

Код:
You don't have enough money
Ontopic:


You are kinda making this hard for us.


Re: WhoreShop - Steven82 - 14.04.2010

Quote:
Originally Posted by Seif_
Show us your OnPlayerSpawn.
Shit, i didn't even think of that


Re: WhoreShop - sjvt - 14.04.2010

pawn Код:
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;
}



Re: WhoreShop - sjvt - 14.04.2010

look above is my onplayerspawn? someone know the fault?