18.08.2016, 15:55
C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer(2)\Freeroam & Roleplay v0.1 - Deal closer\filterscripts\Piss.pwn(23) : error 021: symbol already defined: "SendClientMessage"
C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer(2)\Freeroam & Roleplay v0.1 - Deal closer\filterscripts\Piss.pwn(27) : error 021: symbol already defined: "SendClientMessage"
C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer(2)\Freeroam & Roleplay v0.1 - Deal closer\filterscripts\Piss.pwn(2 : error 010: invalid function or declaration
C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer(2)\Freeroam & Roleplay v0.1 - Deal closer\filterscripts\Piss.pwn(4 : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
// Created by Makaveli
#include <a_samp>
#include <zcmd>
#define COLOR_GREEN 0x008000FF
public OnFilterScriptInit()
{
print("Pee pee!");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
main()
{
print("Pee pee!");
}
public SendClientMessage(playerid)
{
SetPVarInt(playerid, "pissing", 0);
PreloadAnimLib(playerid, "PAULNMAC");
SendClientMessage(playerid, COLOR_GREEN, "Type /piss");
return 1;
}
CMDiss(playerid, params[])
{
if(GetPVarInt(playerid, "pissing") == 0)
{
ApplyAnimation(playerid,"PAULNMAC","Piss_loop",3.0 ,1,1,0,0,0);
SetPlayerAttachedObject(playerid,0,18676,1,-1.900000,0.300000,0.000000,148.199584,90.099914,-55.199981,1.000000,-9.899993,1.000000);
SetPVarInt(playerid, "pissing", 1);
}
else
{
RemovePlayerAttachedObject(playerid,0);
ClearAnimations(playerid);
SetPVarInt(playerid, "pissing", 0);
}
return 1;
}
stock PreloadAnimLib(playerid, animlib[])
{
ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0 ,0);
return 1;
}
C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer(2)\Freeroam & Roleplay v0.1 - Deal closer\filterscripts\Piss.pwn(27) : error 021: symbol already defined: "SendClientMessage"
C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer(2)\Freeroam & Roleplay v0.1 - Deal closer\filterscripts\Piss.pwn(2 : error 010: invalid function or declaration
C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer(2)\Freeroam & Roleplay v0.1 - Deal closer\filterscripts\Piss.pwn(4 : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
// Created by Makaveli
#include <a_samp>
#include <zcmd>
#define COLOR_GREEN 0x008000FF
public OnFilterScriptInit()
{
print("Pee pee!");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
main()
{
print("Pee pee!");
}
public SendClientMessage(playerid)
{
SetPVarInt(playerid, "pissing", 0);
PreloadAnimLib(playerid, "PAULNMAC");
SendClientMessage(playerid, COLOR_GREEN, "Type /piss");
return 1;
}
CMDiss(playerid, params[])
{
if(GetPVarInt(playerid, "pissing") == 0)
{
ApplyAnimation(playerid,"PAULNMAC","Piss_loop",3.0 ,1,1,0,0,0);
SetPlayerAttachedObject(playerid,0,18676,1,-1.900000,0.300000,0.000000,148.199584,90.099914,-55.199981,1.000000,-9.899993,1.000000);
SetPVarInt(playerid, "pissing", 1);
}
else
{
RemovePlayerAttachedObject(playerid,0);
ClearAnimations(playerid);
SetPVarInt(playerid, "pissing", 0);
}
return 1;
}
stock PreloadAnimLib(playerid, animlib[])
{
ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0 ,0);
return 1;
}