23.03.2013, 01:49
Quote:
que hago que tenga vida infinita o algo parecido?
el problema es que es como si el jugador se chocara.... |
pawn Код:
SetPlayerHealth(playerid, 10000.0);
SetPlayerChatBubble(playerid, "Modo: anti-spawn-kill", 0xFF0000AA, 100.0, 10000);
SetTimerEx("AntiSpawnkill",5000,0,"i",playerid);
forward AntiSpawnkill(playerid);
public AntiSpawnkill(playerid)
{
SetPlayerHealth(playerid, 100.0);
SendClientMessage(playerid, 0xFF0000AA, "El anti-spawn-kill se terminу,todo depende de ti.");
SetPlayerChatBubble(playerid, "Modo: normal", 0xFF0000AA, 100.0, 10000);
return 1;
}
O lo otro que quieres:
pawn Код:
new Float:variable[3][128] =
{
{X,Y,Z},
{X,Y,Z},
{X,Y,Z}
};
new str[36+MAX_PLAYER_NAME];
format(str, sizeof(str), "ah spawneado en: %if",variable[random(3)]);
SendClientMessageToAll(0xFFFF00FF, str);