public OnGameModeInit() { // Player Classes In the Startup of the Gamemode Player Class Choose SetGameModeText("Freeroam/Roleplay By Two"); AddPlayerClass(1, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0); return 1; AddPlayerClass(1, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0); return 1; AddPlayerClass(2, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0); return 1; AddPlayerClass(3, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(45) : warning 225: unreachable code C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(47) : warning 225: unreachable code C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(49) : warning 225: unreachable code C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(51) : warning 225: unreachable code C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(53) : warning 225: unreachable code
C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(250) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(270) : warning 202: number of arguments does not match definition
public OnGameModeInit()
{
// Player Classes In the Startup of the Gamemode Player Class Choose
SetGameModeText("Freeroam/Roleplay By Two");
AddPlayerClass(1, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
return 1;
AddPlayerClass(1, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
return 1;
AddPlayerClass(2, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
return 1;
AddPlayerClass(3, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
public OnGameModeInit()
{
// Player Classes In the Startup of the Gamemode Player Class Choose
SetGameModeText("Freeroam/Roleplay By Two");
AddPlayerClass(1, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
AddPlayerClass(1, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
AddPlayerClass(2, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
AddPlayerClass(3, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
//more code
//this is the end now
return 1; // this will end this "OnGameModeInIt" callback and returns true value (1)
}
// Player Classes In the Startup of the Gamemode Player Class Choose
SetGameModeText("Freeroam/Roleplay By Two");
AddPlayerClass(1, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
AddPlayerClass(1, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
AddPlayerClass(2, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
AddPlayerClass(3, 1462.1404,-1027.1700,23.8281,177.7844, 0, 0, 0, 0, 0, 0);
return 1;
}
C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(152) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(172) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0; }
public OnPlayerCommandText(playerid, cmdtext[])
{
return 1;
}
your not using any cmd then use this
pawn Код:
|