13.02.2013, 21:51
I made a toilet in my samp server marker for Role Play.
Is easy to do.
I hope you enjoy and have fun )
(not shit everywhere, now you have a toilet)
if(strcmp(cmdtext, "/caca", true) == 0) // change order after your language /caca
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1287.1453, -1289.3599, 12.375)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"{00FFEE}%s {FFFFFF}face {F3FF02}Caca {FFFFFF}la {F81414}WC!",pName);
SendClientMessageToAll(0xFFFFFFAA,string);
LoopingAnim(playerid,"PED","SEAT_idle", 4.0, 1, 0, 0, 0, 0);
}
return 1;
}
if(strcmp(cmdtext, "/pipi", true) == 0) // change order after your language /pipi
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1287.1453, -1289.3599, 12.375)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"{00FFEE}%s {FFFFFF}face {F3FF02}PIPI {FFFFFF}la {F81414}WC!",pName);
SendClientMessageToAll(0xFFFFFFAA,string);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
}
return 1;
}
fs here
Is easy to do.
I hope you enjoy and have fun )
(not shit everywhere, now you have a toilet)
if(strcmp(cmdtext, "/caca", true) == 0) // change order after your language /caca
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1287.1453, -1289.3599, 12.375)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"{00FFEE}%s {FFFFFF}face {F3FF02}Caca {FFFFFF}la {F81414}WC!",pName);
SendClientMessageToAll(0xFFFFFFAA,string);
LoopingAnim(playerid,"PED","SEAT_idle", 4.0, 1, 0, 0, 0, 0);
}
return 1;
}
if(strcmp(cmdtext, "/pipi", true) == 0) // change order after your language /pipi
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1287.1453, -1289.3599, 12.375)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"{00FFEE}%s {FFFFFF}face {F3FF02}PIPI {FFFFFF}la {F81414}WC!",pName);
SendClientMessageToAll(0xFFFFFFAA,string);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
}
return 1;
}
fs here