22.12.2013, 21:33
so here is my spawn system:
OnPlayerSpawn:
I want to put this under :
Thank you for your time..
With best regards Scrillex..
(Just some time was off scripting.. So I for got a lot..
OnPlayerSpawn:
pawn Код:
if(PlayerInfo[playerid][pArrived] == 0)
{
SetPlayerPos(playerid, 1773.8523, -1905.5093, 13.5501);
}
if(PlayerInfo[playerid][pArrived] == 1)
{
SetPlayerPos(playerid, 1772.1746, -1962.3596, 14.1172);
}
if(PlayerInfo[playerid][pArrived] == 2)
{
SetPlayerPos(playerid, 1685.6259, -2238.5376, 13.5469);
}
if(PlayerInfo[playerid][pMale] == 1)
{
femaleskins = random(sizeof(FEMALESKIN));
SetPlayerSkin(playerid, femaleskins);
PlayerInfo[playerid][pChar] = femaleskins;
}
if(PlayerInfo[playerid][pMale] == 0)
{
maleskins = random(sizeof(MALESKIN));
SetPlayerSkin(playerid, maleskins);
PlayerInfo[playerid][pChar] = maleskins;
}
pawn Код:
case DIALOG_CITIZEN:
{
if (!response) return ShowPlayerDialog(playerid,DIALOG_CITIZEN, DIALOG_STYLE_LIST,"Which countrys Citizen you are?", "USA \nCanada \nRussia \nChina \nEurope", "Select", "Close");
if(response)
switch(listitem)
{
case 0:
{
PlayerInfo[playerid][pCitizen] = 0;
}
case 1:
{
PlayerInfo[playerid][pCitizen] = 1;
}
case 2:
{
PlayerInfo[playerid][pCitizen] = 2;
}
case 3:
{
PlayerInfo[playerid][pCitizen] = 3;
}
case 4:
{
PlayerInfo[playerid][pCitizen] = 4;
}
}
return 1;
}
With best regards Scrillex..
(Just some time was off scripting.. So I for got a lot..