[help] - random teleports.
#8

i still got now 6 errors, but its a bit better

C:\Users\Onno\Documents\da\gamemodes\saa.pwn(176) : error 017: undefined symbol "TP"
C:\Users\Onno\Documents\da\gamemodes\saa.pwn(176) : error 029: invalid expression, assumed zero
C:\Users\Onno\Documents\da\gamemodes\saa.pwn(176) : warning 215: expression has no effect
C:\Users\Onno\Documents\da\gamemodes\saa.pwn(177) : error 017: undefined symbol "TP"
C:\Users\Onno\Documents\da\gamemodes\saa.pwn(177) : warning 215: expression has no effect
C:\Users\Onno\Documents\da\gamemodes\saa.pwn(177) : error 001: expected token: ";", but found "]"
C:\Users\Onno\Documents\da\gamemodes\saa.pwn(177) : error 029: invalid expression, assumed zero
C:\Users\Onno\Documents\da\gamemodes\saa.pwn(177) : fatal error 107: too many error messages on one line


i got now this:
Код:
174if(strcmp("/dm1", cmdtext, true, 4) == 0)
175{
176new rand = random(sizeof(TP));
177SetPlayerPos(playerid, TP[rand][0], TP[rand][1], TP[rand][2]);
178new Float:TP[9][3] = {
179{354.2154,2030.3007,23.8673},
180{268.8435,2022.3782,17.6406},
181{268.1262,1988.9603,17.6406},
182{267.6958,1956.3184,17.6406},
183{223.7248,1931.2437,17.6406},
184{171.6965,1834.9309,17.6406},
185{153.6859,1845.1970,17.6406},
186{141.6754,1875.6266,17.8434},
187{155.0106,1903.1884,18.7108}
188};
189return 1;
190}
Reply


Messages In This Thread
[help] - random teleports. - by PANNA - 19.10.2009, 12:40
Re: [help] - random teleports. - by Think - 19.10.2009, 13:02
Re: [help] - random teleports. - by Peter_Corneile - 19.10.2009, 13:02
Re: [help] - random teleports. - by PANNA - 19.10.2009, 13:18
Re: [help] - random teleports. - by Think - 19.10.2009, 13:27
Re: [help] - random teleports. - by PANNA - 19.10.2009, 13:50
Re: [help] - random teleports. - by Jefff - 19.10.2009, 13:56
Re: [help] - random teleports. - by PANNA - 19.10.2009, 15:45
Re: [help] - random teleports. - by Peter_Corneile - 19.10.2009, 15:51
Re: [help] - random teleports. - by Think - 19.10.2009, 16:08

Forum Jump:


Users browsing this thread: 1 Guest(s)