Multiple spawn locations
#5

Quote:
Originally Posted by Mr_Zlodei
Посмотреть сообщение
replace it
PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    switch(
classid)
    {
        case 
0..2 //if the class id is 0 to 2, AKA Grove
        
{
            
SetPlayerPos(playerid2498.8213,-1684.5753,13.4179); //Grove position
            
SetPlayerCameraPos(playerid2497.7188,-1680.2167,13.3547); //Grove camera
            
SetPlayerCameraLookAt(playerid2498.5054,-1684,13.3547); //Grove position
            
SetPlayerFacingAngle (playerid12.5838); //Grove angle
        
}
        case 
3..5//if the class id is 3 to 5, AKA Ballas
        
{
            
SetPlayerPos(playerid2304.2261,-1650.4573,14.5472); //Ballas Position
            
SetPlayerCameraPos(playerid2304.2261,-1650.4573,14.5472); //Ballas Camera
            
SetPlayerCameraLookAt(playerid2304.3811,-1655.1173,14.4548); //Ballas Position
            
SetPlayerFacingAngle (playerid178.9947); //Ballas Angle
        
}
    }
    return 
1;

C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(14) : warning 217: loose indentation
C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(17) : warning 213: tag mismatch
C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(17) : warning 202: number of arguments does not match definition
C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(1 : warning 213: tag mismatch
C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(1 : warning 202: number of arguments does not match definition
C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(19) : warning 213: tag mismatch
C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(19) : warning 202: number of arguments does not match definition
C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(21) : warning 217: loose indentation
C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(39) : error 029: invalid expression, assumed zero
C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(40) : error 001: expected token: ";", but found "{"
C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(43 -- 44) : error 029: invalid expression, assumed zero
C:\Users\Ryan\SkyDrive\Documents\Scripting\gamemod es\Ryan.pwn(62) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Multiple spawn locations - by rymax99 - 20.01.2013, 06:33
Re: Multiple spawn locations - by Threshold - 20.01.2013, 06:39
Re: Multiple spawn locations - by rymax99 - 20.01.2013, 07:10
Re: Multiple spawn locations - by Mr_Zlodei - 20.01.2013, 07:15
Re: Multiple spawn locations - by rymax99 - 20.01.2013, 07:29
Re: Multiple spawn locations - by Mr_Zlodei - 20.01.2013, 07:38

Forum Jump:


Users browsing this thread: 1 Guest(s)