Error Need Help
#5

public OnPlayerSpawn(playerid)
{
new string[256];
ResetPlayerWeapons(playerid);

KillTimer(afkwaittimer[playerid]);
KillTimer(damagedafktimer[playerid]);
damagedafk[playerid] =0;
afkwait[playerid] =0;

if(PlayerInfo[playerid][pClassSelection] > 0)
{
Kick(playerid);
return 1;
}
if(jpInfo[playerid][OwnedHouses] > 0)
{
SetTimerEx("JakSpawnHome", 1000, false, "d", playerid);
}
PlayerInfo[playerid][pSpawned] = 1;


if(jpInfo[playerid][OwnedHouses] == 1)
{
new x = PlayerInfo[playerid][pHouseID];
hInfo[x][h_OwnerID] = playerid;
SaveHouse(x);
}

TextDrawHideForPlayer(playerid, DM_StartStyle0);
TextDrawHideForPlayer(playerid, DM_StartStyle1);
TextDrawHideForPlayer(playerid, DM_StartStyle4);
TextDrawHideForPlayer(playerid, DM_StartStyle5);
TextDrawHideForPlayer(playerid, DM_StartStyle6);

SetPVarInt(playerid, "AdminProtect", 0);

if(WeaponsSay[playerid] == 1)
{
PlayerInfo[playerid][pLotto] =0;
GameTextForPlayer(playerid,string,1000,4);
SendClientOnScreenText(playerid,MOTD);
WeaponsSay[playerid] =0;
SendClientMessage(playerid,COLOR_SERVER_HELP_MSG, ""LIGHTBLUE"Type "RED"/weapons "LIGHTBLUE" to Choose Weapons Kits.");
}

This is it or more ?
Reply


Messages In This Thread
Error Need Help - by Strider1997 - 04.07.2018, 18:40
Re: Error Need Help - by m3shys - 04.07.2018, 22:45
Re: Error Need Help - by Strider1997 - 05.07.2018, 03:12
Re: Error Need Help - by DerickClark - 05.07.2018, 03:23
Re: Error Need Help - by Strider1997 - 05.07.2018, 03:26
Re: Error Need Help - by Strider1997 - 05.07.2018, 07:51
Re: Error Need Help - by Strider1997 - 05.07.2018, 19:33
Re: Error Need Help - by Strider1997 - 28.07.2018, 15:32
Re: Error Need Help - by Netherland - 28.07.2018, 18:05
Re: Error Need Help - by Heress - 28.07.2018, 18:15

Forum Jump:


Users browsing this thread: 1 Guest(s)