31.10.2009, 14:11
Hi there.
Iґve created 3 take-able turfs on my server. As a little extra, Iґve created a /turfs command which is supposed to show you the turfs and its occupations. Iґve started like this:
This is inside /turfs:
This is when you successfully take a turf over (One example):
Then, at the top of the script:
At OnGameModeinit, Iґve setted all things to "unoccupied".
Now, when you type /turfs ingame, it displays some weird letters, but no occupations. Why?
Iґve created 3 take-able turfs on my server. As a little extra, Iґve created a /turfs command which is supposed to show you the turfs and its occupations. Iґve started like this:
This is inside /turfs:
Код:
format(turf1, sizeof(turf1), ">> El Quebrados <<: Occupied by %s", zone1owned); format(turf2, sizeof(turf2), ">> Gas Station <<: Occupied by %s", zone2owned); format(turf3, sizeof(turf3), ">> Snake Farm <<: Occupied by %s", zone3owned);
Код:
zone3owned = USA;
Код:
#define USA 1 #define Germany 2 #define Russia 3 #define China 4 #define Civilians 5 #define Unoccupied 1227
Now, when you type /turfs ingame, it displays some weird letters, but no occupations. Why?