Print text after selecting class
#1

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;
}
Wasn't sure what i should actually do but i thought this would be right?
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.
Also one more question, How do i make a class spawn with some dollars?

Thanks
Reply


Messages In This Thread
Print text after selecting class - by Pawnstar - 13.11.2012, 19:40
Re: Print text after selecting class - by tyler12 - 13.11.2012, 19:41
Re: Print text after selecting class - by Pawnstar - 13.11.2012, 19:43
Re: Print text after selecting class - by InfiniTy. - 13.11.2012, 19:44
Re: Print text after selecting class - by tyler12 - 13.11.2012, 19:46
Re: Print text after selecting class - by Pawnstar - 13.11.2012, 19:52
Re: Print text after selecting class - by tyler12 - 13.11.2012, 19:57

Forum Jump:


Users browsing this thread: 1 Guest(s)