AddPlayerClass problem
#1

This is the code:

pawn Код:
AddPlayerClass(267, 1542.34, -1672.17, 12.54, 3, 1, 24, 200, 29, 200); //POLICE
    AddPlayerClass(283, 1542.34, -1672.17, 12.54, 3, 1, 24, 200, 29, 200);//POLICE
    AddPlayerClass(127, 1542.34, -1672.17, 12.54, 29, 200, 0, 0, 0, 0); //POLICE
Errors:

Quote:

C:\Users\Luca\Desktop\BaseScript\gamemodes\base.pw n(105) : warning 202: number of arguments does not match definition
C:\Users\Luca\Desktop\BaseScript\gamemodes\base.pw n(106) : warning 202: number of arguments does not match definition
C:\Users\Luca\Desktop\BaseScript\gamemodes\base.pw n(107) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Warnings.

Also when I spawn the player has just the weapon id 1, why?
Reply
#2

https://sampwiki.blast.hk/wiki/AddPlayerClass
Reply
#3

You haven't put an angle. Try these:

Код:
AddPlayerClass(267, 1542.34, -1672.17, 12.54, 2.7821, 3, 1, 24, 200, 29, 200); //POLICE
    AddPlayerClass(283, 1542.34, -1672.17, 12.54, 2.7821, 3, 1, 24, 200, 29, 200);//POLICE
    AddPlayerClass(127, 1542.34, -1672.17, 12.54, 2.7821, 29, 200, 0, 0, 0, 0); //POLICE
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)