warning 213: tag mismatch |
if(crukk11[playerid] == true)
{
new spawn = random(sizeof(gRandomSpawns_LosSantos));
SetPlayerPos(playerid, gRandomSpawns_LosSantos[spawn][0], gRandomSpawns_LosSantos[spawn][1], gRandomSpawns_LosSantos[spawn][2]);
SetPlayerFacingAngle(playerid, gRandomSpawns_LosSantos[spawn][3]);
}
if(crukk11[playerid] == true) <<< the error line
{
new spawn = random(sizeof(gRandomSpawns_LosSantos));
SetPlayerPos(playerid, gRandomSpawns_LosSantos[spawn][0], gRandomSpawns_LosSantos[spawn][1], gRandomSpawns_LosSantos[spawn][2]);
SetPlayerFacingAngle(playerid, gRandomSpawns_LosSantos[spawn][3]);
}
new bool:crukk11[MAX_PLAYERS];
stock power(playerid)
{
ResetPlayerWeapons(playerid);
switch(CC_BUKIT[playerid])
{
case 0: { GivePlayerWeapon(playerid, 24, 100);
GivePlayerWeapon(playerid, 25, 100);
GivePlayerWeapon(playerid, 26, 100);
CC_BUKIT[playerid]++;
}
case 1: { GivePlayerWeapon(playerid, 27, 100);
GivePlayerWeapon(playerid, 28, 100);
GivePlayerWeapon(playerid, 29, 100);
CC_BUKIT[playerid]++;
}
case 2: { GivePlayerWeapon(playerid, 30, 100);
GivePlayerWeapon(playerid, 31, 100);
GivePlayerWeapon(playerid, 32, 100);
CC_BUKIT[playerid]=0;
}
}
return 1;
}