09.07.2009, 04:57
Код:
public OnPlayerEnterStreamedCheckpoint(playerid, streamid) { if(streamid == cp1) { GameTextForPlayer(playerid,"Welcome to the Hospital! Type /heal to restore your HP! It costs $100",3000,5); } else if(streamid == cp2) { stuff here.... } return 1; }
Код:
public OnPlayerEnterStreamedCheckpoint(playerid, streamid) { switch(streamid) { case cp1: GameTextForPlayer(playerid,"Welcome to the Hospital! Type /heal to restore your HP! It costs $100",3000,5); case cp2: stuff here.... } return 1; }