Language Z-C
(Z-C compiler for SCO (GTA IV Scripts)
| Date: | 05/17/10 |
| Author: | TrojaA |
| URL: | n/a |
| Comments: | 0 |
| Info: | n/a |
| Score: |
// Z-C natives
native DISPLAY(string msg) = 0x43CFAA ?? 0;
function main()
{
local int bottles
bottles = 99
while bottles
{
DISPLAY(itos(bottles))
DISPLAY("bottles of beer on the wall, ")
DISPLAY(itos(bottles))
DISPLAY(" bottles of beer~n~")
DISPLAY("Take one down and pass it around,")
DISPLAY(itos(bottles))
DISPLAY(" bottles of beer on the wall.~n~")
bottles--
}
DISPLAY("1 bottle of beer on the wall, 1 bottle of beer~n~")
DISPLAY("Take one down and pass it around, no more bottles of beer on the wall~n~~n~")
DISPLAY("No more bottles of beer on the wall, no more bottles of beer.~n~")
DISPLAY("Go to the store and buy some more, 99 bottles of beer on the wall.~n~")
return 1
}
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments