Errors/Warnings help
#1

Код:
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1053) : warning 217: loose indentation
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1061) : warning 217: loose indentation
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1425) : error 017: undefined symbol "string"
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1425) : error 017: undefined symbol "string"
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1425) : error 029: invalid expression, assumed zero
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1425) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Lines:

Код:
1053   	return 0;
1061  	return 0;
1425	        format(string, sizeof(string), "| Slot %i: %s (Ammo: %i)", slot, gunname, vehTrunkAmmo[result][slot]);
What's wrong ?
Reply
#2

Код:
new string[124];
at line 1424
Reply
#3

ok, can you explain to me what the [124] means ?

PS: New Errors now:

Код:
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1054) : warning 217: loose indentation
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1062) : warning 217: loose indentation
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1441) : error 017: undefined symbol "sendername"
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1441) : error 017: undefined symbol "sendername"
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1441) : error 029: invalid expression, assumed zero
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1441) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Lines
Код:
1054 	return 0;
1062 	return 0;
1441 	GetPlayerName(playerid, sendername, sizeof(sendername));
Reply
#4

man these are the basics... Everything is here: https://sampwiki.blast.hk/wiki/Scripting_Basics
search for the arrays
Reply
#5

It's because I'm from Brazil, my english is not very good
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)