15.02.2010, 23:40
Do i need to add another bracket or something if yes how much and where because i get 26 errors here it is
http://pastebin.com/m55a50765
http://pastebin.com/m55a50765
else
{
switch (gPlayerCheckpointStatus[playerid])
{
case CHECKPOINT_HOME:
{
PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
DisablePlayerCheckpoint(playerid);
gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
GameTextForPlayer(playerid, "~w~You are~n~~y~Home", 5000, 1);
}
switch (gPlayerCheckpointStatus[playerid])
{
case CHECKPOINT_CAR:
{
PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
DisablePlayerCheckpoint(playerid);
gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
}
switch (gPlayerCheckpointStatus[playerid])
{
case CHECKPOINT_HOUSE:
{
PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
DisablePlayerCheckpoint(playerid);
gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
return 1;
}
}