little Help
#1

Hello Guys i need a little help my Script giving me this

I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(442) : error 021: symbol already defined: "print"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(451) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(454) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(457) : error 021: symbol already defined: "SendClientMessage"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(460) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(464) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(472) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(475) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(480) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(484) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(489) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


11 Errors.


anything is from here

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])


    if(strcmp("/ParkDM", cmdtext, true ,10) == 0)
        SetPlayerPos(playerid,1171.6135,2785.9299,10.8203);
    ResetPlayerWeapon(playerid);print()
    GivePlayerWeapon(playerid, 26, 9000);
    GivePlayerWeapon(playerid,31,3500);
    GivePlayerWeapon(playerid,16,100);
    GivePlayerWeapon(playerid, 25, 10000);
    GivePlayerWeapon(playerid, 27, 10000);
    SetPlayerSkin(playerid,278);
    SendClientMessage(playerid, COLOR_YELLOW, "Teleported to ParkDM");
   
return 1;
   
   
    if(strcmp(cmdtext, "/teleports", true, 0) == 0)
    {
       
        SendClientMessage(playerid, :-:-:-:-:TelePorts:-:-:-:-:
        SendClientMessage(playerid, /parkDM - More will be Added Soon

        return 1;
    }


    if(strcmp(cmdtext, "/rules", true, 10) == 0)
    {
        SendClientMessage(playerid, 0xFF0000AA,"   ******Yes Follow TheRULES**  SendClientMessage(playerid, 0xFF0000AA,"Rules");
}
   
    if (strcmp("
/Kill", cmdtext, true, 10) == 0)
    {
        SetPlayerHealth(playerid, 0); //Put the player's life to 0(zero), die...
        SendClientMessage(playerid, COLOR_BRIGHTRED, "
You Died!");

        return 1;
}
Note: i am learning script in this SCript
Reply


Messages In This Thread
little Help - by Roomeo - 06.03.2011, 12:13
Re: little Help - by Stigg - 06.03.2011, 12:17
Re: little Help - by Roomeo - 06.03.2011, 12:19
Re: little Help - by Stigg - 06.03.2011, 12:21
Re: little Help - by Roomeo - 06.03.2011, 12:22
Re: little Help - by HyperZ - 06.03.2011, 12:23
Re: little Help - by JackT - 06.03.2011, 12:26
Re: little Help - by Roomeo - 06.03.2011, 12:28
Re: little Help - by Stigg - 06.03.2011, 12:28

Forum Jump:


Users browsing this thread: 3 Guest(s)