C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 017: undefined symbol "PlayerName" C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : warning 215: expression has no effect C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 029: invalid expression, assumed zero C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : fatal error 107: too many error messages on one line
format(string, sizeof(string), "KILL: %s has killed %s with a %s in the tutorial area.", PlayerName(killerid), PlayerName(playerid), GunNames[reason];
PlayerName(playerid)
{
new
Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, sizeof(Name));
return Name;
}
Код:
C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 017: undefined symbol "PlayerName" C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : warning 215: expression has no effect C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 029: invalid expression, assumed zero C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : fatal error 107: too many error messages on one line Line 19 : Код:
format(string, sizeof(string), "KILL: %s has killed %s with a %s in the tutorial area.", PlayerName(killerid), PlayerName(playerid), GunNames[reason]; |
stock PlayerName(playerid) {
new
name[MAX_PLAYER_NAME]
;
GetPlayerName(playerid, name, sizeof(name));
return name;
}
C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 017: undefined symbol "GunNames" C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : warning 215: expression has no effect C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 029: invalid expression, assumed zero C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : fatal error 107: too many error messages on one line
@sjn;Still not working :/...
Код:
C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 017: undefined symbol "GunNames" C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : warning 215: expression has no effect C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : error 029: invalid expression, assumed zero C:\Documents and Settings\Saturn\Desktop\OnDeath.pwn(19) : fatal error 107: too many error messages on one line |
C:\Documents and Settings\Saturn\Desktop\PR-RP fixed\gamemodes\OnDeath.pwn(10) : error 017: undefined symbol "GetPlayerPos" C:\Documents and Settings\Saturn\Desktop\PR-RP fixed\gamemodes\OnDeath.pwn(11) : error 017: undefined symbol "GetPVarInt" C:\Documents and Settings\Saturn\Desktop\PR-RP fixed\gamemodes\OnDeath.pwn(11) : error 017: undefined symbol "Baller" C:\Documents and Settings\Saturn\Desktop\PR-RP fixed\gamemodes\OnDeath.pwn(11) : warning 215: expression has no effect C:\Documents and Settings\Saturn\Desktop\PR-RP fixed\gamemodes\OnDeath.pwn(11) : error 017: undefined symbol "SetPlayerWorldBounds" C:\Documents and Settings\Saturn\Desktop\PR-RP fixed\gamemodes\OnDeath.pwn(11) : fatal error 107: too many error messages on one line
I think we can safely assume no-one is noticing what people are saying about Copy Pasting...
If you are going to rip the crap out of a script, make sure you understand HOW to make it work. Don't just come in here posting the errors HOPING that people will continue to go through the 20 - 30 incremental errors, that you come back at each step with "Fixed it, but now this happens"... What it is, is you're copying portions of scripts, and not understanding how they work. You need to learn to script a bit. (At least enough to understand the errors, and how the functions are created and such) Next, as soon as the next error is fixed, he'll hang on "Baller"... And then once he "figures" that one, we'll end up with another... |