13.11.2012, 19:40
pawn Код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Learner Script, Select your class, Some have advantages.");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
print("You have selected CJ, This class has no perks and spawns with nothing);
AddPlayerClass(285, 1958.3783, 1343.1572, 15.3746, 269.1425, 13, 100, 19, 100, 0, 0);
print("You have selected SWAT, This class spawns with some weapons);
AddPlayerClass(102, 1958.3783, 1343.1572, 15.3746, 269.1425, 5, 0, 22, 100, 32, 50);
print("You have selected Balla, This is a gang member with little weapons);
return 1;
}
But end up getting..
Код:
C:\Users\Ash.Ash-PC\Desktop\Learning\gamemodes\Learner.pwn(39) : error 037: invalid string (possibly non-terminated string) C:\Users\Ash.Ash-PC\Desktop\Learning\gamemodes\Learner.pwn(39) : error 017: undefined symbol "You" C:\Users\Ash.Ash-PC\Desktop\Learning\gamemodes\Learner.pwn(39) : error 017: undefined symbol "have" C:\Users\Ash.Ash-PC\Desktop\Learning\gamemodes\Learner.pwn(39) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Thanks