public OnPlayerCommandText(playerid, cmdtext[])
{
//ocmd!
//allgemein
if (strcmp("/ah", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 1: /minigun /kick /supmobil");
SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 2:");
SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 3: /arschlochalarm /ban");
SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 4:");
SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 5:");
SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 6:");
}
if(PlayerInfo[playerid][pAdmin] == 0) //Wenn der Spieler kein Admin ist ...
{
SCM(playerid,Rot,nAdmin);
}
return 1;
}
if (strcmp("/minigun", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(playerid,0xFFFF89FF,"Minigun bekommen!");
GivePlayerWeapon(playerid,38,1000000);
}
return 1;
}
if (strcmp("/musik1", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFFFF89FF,"Viel Spass mit der Musik von somafm!");
PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls");
return 1;
}
if (strcmp("/musik2", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFFFF89FF,"Viel Spass mit der Musik von technobasefm!");
PlayAudioStreamForPlayer(playerid, "http://www.technobase.fm/wmplayer/");
return 1;
}
if (strcmp("/stopmusik", cmdtext, true, 10) == 0)
{
{
SendClientMessage(playerid,0xFFFF89FF,"Musik-AUS");
StopAudioStreamForPlayer(playerid); // Stop the audio stream
}
return 1;
}
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFFFF89FF,"ALLGEMEIN: [/rep] [/admins] [/musik1] [/musik2] [/stopmusik]");
return 1;
}
if (strcmp("/rep", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0x00FFFFFF,"Fahrzeug repariert!");
SetVehicleHealth(playerid,100);
return 1;
}
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(401) : error 017: undefined symbol "SavePlayer"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(470) : error 017: undefined symbol "SavePlayer"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(544) : error 079: inconsistent return types (array & non-array)
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(553) : error 079: inconsistent return types (array & non-array)
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(559) : error 079: inconsistent return types (array & non-array)
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(565) : error 079: inconsistent return types (array & non-array)
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(573) : error 079: inconsistent return types (array & non-array)
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(579) : error 079: inconsistent return types (array & non-array)
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(585) : error 079: inconsistent return types (array & non-array)
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(589) : error 029: invalid expression, assumed zero
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(589) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(591) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(598) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(599) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(600) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(601) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(602) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(603) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(604) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(605) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(606) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(607) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(608) : error 017: undefined symbol "vehicleid"
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(618) : error 079: inconsistent return types (array & non-array)
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(621) : warning 225: unreachable code
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(621) : error 029: invalid expression, assumed zero
C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(621) : error 004: function "OnPlayerExitVehicle" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Wieso bitte hab nur einen befehl gelöscht