1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
lol i don't understand any thing!
if (strcmp(cmdtext, "flip", true) == 0)
{
new Float:x, Float:y, Float:z;
new pvehicle = GetPlayerVehicleID(playerid);
GetVehiclePos(pvehicle, x, y, z);
if(!IsPlayerInVehicle(playerid, pvehicle))
{
SendClientMessage(playerid, 0xFFFFFFAA, "You're not in vehicle!");
}
else
{
SetVehiclePos(pvehicle, x, y, z, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Your vehicle has been fliped.");
}
return 1;
}
It won't work, the vc-mp pawn compiler is to old for dcmd.
O.o
what the hek is dcmd
Hi , i was trying to create a more reallystic system for kill reward .. So i thought if would be possible to make a drop money for reward. I had many troubles when i make this .I know that i have to make a new pickup on player dead with the money ID , and them add the function of pickedup .Quoteif(pickupid == 7) {
IncPlayerHandCash( playerid, 100);
But i don't know how to delete the pickup after player take money ..... Please if someone solve this , post the code or help me by PM
thx another timeee
It really hurts my to say, but it's not possible at the moment.
kind of impossible fro pawno
MAN Pawn sucks i has a lot of bugs and Dam shits warnings and crashes and Worse things that i won't worte it down
I announce that no more Help / Script from me cuz i left Pawn Scirpting and i am scripting squirrel Its BEST its is BEST and its BEST it has a lot of functions more than pawn it has onPLayerFall onPlayerHealthChange etc and BEST of BEST it can change weather time can connect mirc .. So no pawn for me >_>
Code: [Select]And what this function will do is that it will check the prop ID which player owns and send him to right spawn
I useCode: [Select]IsThatHisProperty
What you mean by prop spawn ? i don't get it so I'm not able to help you before i know what it is.
Propspawn Means if the property is owned then he can spawn at his property!
example : my property malibu
i enable propspawn and i spawn at malibu with any skin
SetPlayerPropSpawn(playerid);
public SetPlayerPropSpawn(playerid)
{
if(PlayerProp[playerid] == 1)
{
SetPlayerPos(playerid,x,y,z,r,inter);
}
else if(PlayerProp[playerid] == 1)
{
SetPlayerPos(playerid,x,y,z,r,inter);
}
}
SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
SpawnPlayer(playerid)
SetTimerEx
function which is obviously not added yet...is kind of like this but is bugged i need to fix it here is the command but i need to fix it i just gave to you maybe you got an idea so if you can fix it perfect! but i will try to fix itCode: [Select]else if (strcmp(cmd, "heal", true) == 0) {
tmp = strtok(cmdtext, idx);
new snick[256], plr, szMsg[256];
snick = strtok(cmdtext, idx), plr = FindPlayerIDFromString(snick);
if (!strlen(tmp)) SendClientMessage(playerid,COLOR_GREEN, "Usage: /c heal [Nick/ID]");
else {
format(szMsg,sizeof(szMsg),"%s Healed Player:[ %s ]",gPlayers[playerid],gPlayers[plr]);
SendClientMessageToAll(COLOR_GREEN,szMsg);
SetPlayerHealth(plr,100);
}
return 1;
}