/v [Vehicle Name] cmd(strcmp)
#3

Well, tried it but i got these errors->
test.pwn(957) : error 017: undefined symbol "PlayerInfo"
test.pwn(957) : warning 215: expression has no effect
test.pwn(957) : error 001: expected token: ";", but found "]"
test.pwn(957) : error 029: invalid expression, assumed zero
test.pwn(957) : fatal error 107: too many error messages on one line
line 957 => if(PlayerInfo[playerid][AdminLevel] >= 3)
I don't have any plugins, it's just a random-fun cmd.
I tried removing it, but then the compiler crashed.
Tried changing it into "IsPlayerAdmin", but then i got more errors.
By more errors i mean ->

C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(960) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(960) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(961) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(961) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(962) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(962) : error 033: array must be indexed (variable "tmp3")
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(969) : error 017: undefined symbol "IsNumeric"
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(970) : error 017: undefined symbol "GetVehicleModelIDFromName"
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(972) : error 017: undefined symbol "red"
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(982) : error 017: undefined symbol "VehicleNames"
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(982) : warning 215: expression has no effect
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(982) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(982) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Owner\Desktop\gamemode test\gamemodes\test.pwn(982) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
/v [Vehicle Name] cmd(strcmp) - by Kyance - 20.09.2013, 14:35
Re: /v [Vehicle Name] cmd(strcmp) - by IceBilizard - 20.09.2013, 14:48
Re: /v [Vehicle Name] cmd(strcmp) - by Kyance - 20.09.2013, 15:11

Forum Jump:


Users browsing this thread: 2 Guest(s)