28.08.2014, 11:37
Try to make simple modes with a few functions. For example:
pawn Код:
#include <a_samp>
main(){print("My First GM Loaded!");}
public OnGameModeInit()
{
AddPlayerClassEx(0, 105, 2488.562, -1666.865, 12.8757, 262.0, 24, 150, 29, 300, 4, 1);
AddPlayerClassEx(1, 102, 2488.562, -1666.865, 12.8757, 262.0, 25, 150, 28, 500, 22, 150);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetCameraBehindPlayer(playerid);
switch(classid)
{
case 0: GameTextForPlayer(playerid, "~g~~h~~h~Grove Street Families", 3000, 4);
case 1: GameTextForPlayer(playerid, "~p~Ballas", 3000, 4);
}
return 1;
}