A thing that can delete all carz in my sa-mp server!
#1

Please help me i got to many carz in my server about 150+ so I want to delete all at ones! So anybody can help?
Reply
#2

F:\SenjoritaGaming\gamemodes\SanjoritaGaming.pwn(2 675) : error 055: start of function body without function header
F:\SenjoritaGaming\gamemodes\SanjoritaGaming.pwn(2 676) : error 010: invalid function or declaration
F:\SenjoritaGaming\gamemodes\SanjoritaGaming.pwn(2 67 : error 010: invalid function or declaration
F:\SenjoritaGaming\gamemodes\SanjoritaGaming.pwn(2 680) : error 010: invalid function or declaration
F:\SenjoritaGaming\gamemodes\SanjoritaGaming.pwn(2 685) : error 010: invalid function or declaration
F:\SenjoritaGaming\gamemodes\SanjoritaGaming.pwn(2 690) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Reply
#3

What is wrong with you? Do what I last said in your previous thread:

https://sampforum.blast.hk/showthread.php?tid=284982
Reply
#4

I got this by typing this to my pawno!

Quote:

public OnPlayerText(playerid, text[])
{
if(text[0] == '*' && PInfo[playerid][Admin] >= 1)
{
new str[256]; GetPlayerName(playerid,str,sizeof(str));
format(str,sizeof(str),"Admin Chat: {B4B5B7}%s: %s",str,text[1]);
AdminPrivateChat(COLOR_RED,str);
SaveLogs("AdminChat",str);
return 0;
}
if(text[0] == '@' && PInfo[playerid][VIP] == 1)
{
new str[256]; GetPlayerName(playerid,str,sizeof(str));
format(str,sizeof(str),"VIP Chat: {B4B5B7}%s: %s",str,text[1]);
VIPPrivateChat(COLOR_YELLOW,str);
SaveLogs("VIPChat",str);
return 0;
}
if(PInfo[playerid][pMute] == 1) {
SendClientMessage(playerid, COLOR_RED, "You are muted, no one can hear you!");
return 0; }
return 1;
}
{
if( strcmp( cmdtext, "/deleteallcars", true ) == 0 )
{
for( new veh; veh < MAX_VEHICLES; veh ++ )
{
if ( veh != INVALID_VEHICLE_ID )
{
DestroyVehicle( veh );
}
}
return 1;
}



return 0;
}

Reply
#5

Quote:
Originally Posted by Charlos
Посмотреть сообщение
I got this by typing this to my pawno!
OMG, put it in ONPLAYERCOMMANDTEXT.
Reply
#6

Sorry I am a stupid ass dum shit i am super sorry
Reply
#7

Please tell me where is ONPLAYERCOMMANDTEXT? which part near create object?
Reply
#8

You're gonna get banned so fast...
PM your game mode to me or post it here... At this rate, it's the only way you can make it work...
Reply
#9

Do you have skype we can skype
And i will send you though skype
Reply
#10

Quote:
Originally Posted by Charlos
Посмотреть сообщение
Please tell me where is ONPLAYERCOMMANDTEXT? which part near create object?
You could just press "CTRL+F" (Windows) then type in OnPlayerCommandText if you're really hard up on finding it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)