Quote from: Jancis71 on September 05, 2010, 08:31:23 PM
else if (strcmp(cmd, "!heal", true) == 0) {
new Float:Health; GetPlayerHealth(playerid,Health);
if (Health >= 100) SendClientMessage(playerid,COLOR_GREEN,"Error: You are healthy!");
else {
SetPlayerHealth(playerid,100.0);
SendClientMessage(playerid,COLOR_GREEN,"You have been healed.");
}
return 1;
This Pawno example can teach ya so much about Pawn Scripting, and just makes ya wanna build the server yourself hmmm... a zombeh server? maybe lol