fysiks is correct. If you would listen to what he tells you this would be solved already.
Ala
PHP Code:
#pragma semicolon 1;
Error
Code:
Revive(id)
{
//make sure player has access to this command
if (get_user_flags(id) & BM_ADMIN_LEVEL)
{
//Better to only call these if we need the users name
new szName[32];
get_user_name(id, szName, 32);
//MISSING SEMI-COLONS
ExecuteHam(Ham_Respawn, id)
client_print(0, print_chat, "%s revived.", szName)
}
}
Warning
Code:
/* MISC */
drawLine(Float:vOrigin1[3], Float:vOrigin2[3], life)
{
message_begin(MSG_BROADCAST, SVC_TEMPENTITY);
write_byte(TE_BEAMPOINTS);
write_coord(floatround(vOrigin1[0], floatround_floor));
write_coord(floatround(vOrigin1[1], floatround_floor));
write_coord(floatround(vOrigin1[2], floatround_floor));
write_coord(floatround(vOrigin2[0], floatround_floor));
write_coord(floatround(vOrigin2[1], floatround_floor));
write_coord(floatround(vOrigin2[2], floatround_floor));
write_short(gSpriteIdBeam); //sprite index
write_byte(0); //starting frame
write_byte(1); //frame rate in 0.1's
write_byte(life); //life in 0.1's
write_byte(5); //line width in 0.1's
write_byte(0); //noise amplitude in 0.01's
write_byte(255); //red
write_byte(255); //green
write_byte(255); //blue
write_byte(255); //brightness
write_byte(0); //scroll speed in 0.1's
message_end();
//??????????? Remove this crap
{
return false;
}
}
__________________