25.10.2018, 03:41
PHP Code:
//-----------|INCLUDES|--------------------------------------------//
#include <a_samp>
#include <zcmd>
#include <sscanf2>
//-----------------------------------------------------------------//
main()
{
print("\n--------------------------------------");
print(" Servidor Iniciado '-'");
print("--------------------------------------\n");
}
public OnGameModeInit()
{
print("\n--------------------------------------");
print(" My EGGS arredounded initializing ");
print("--------------------------------------\n");
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
//vida
CMD:vida(playerid)
{
SendClientMessage(playerid, -1, "[ x ] {00ff00}Sua vida foi setada para 100"), SetPlayerHealth(playerid, 100.0);
return 1;
}
//colete
CMD:colete(playerid)
{
SendClientMessage(playerid, -1, "[ x ] {00ff00}Seu colete foi setado para 100"), SetPlayerArmour(playerid, 100.0);
return 1;
}