SendMessageToAdmins stock
#5

Quote:
Originally Posted by iGetty
View Post
You added:

pawn Code:
SendMessageToAdmins(-1,string);
The stock is:
pawn Code:
SendMessageToAdmins(string)
There is no-where for the "-1" to fit into the equation.
Exactly what I was thinking, the problem is that the "String" in the stock is not being used.

The errors are on these lines:

pawn Code:
C:\Users\Ben\Desktop\SF-RP\gamemodes\bensamp.pwn(1898) : error 035: argument type mismatch (argument 1)
SendMessageToAdmins(str);
pawn Code:
C:\Users\Ben\Desktop\SF-RP\gamemodes\bensamp.pwn(2459) : error 035: argument type mismatch (argument 3)
SendClientMessage(i, 0xCC000000, str);
pawn Code:
C:\Users\Ben\Desktop\SF-RP\gamemodes\bensamp.pwn(2453) : warning 203: symbol is never used: "str"
stock SendMessageToAdmins(str)
Reply


Messages In This Thread
SendMessageToAdmins stock - by vIBIENNYx - 18.06.2012, 20:21
Re: SendMessageToAdmins stock - by iGetty - 18.06.2012, 20:27
Re: SendMessageToAdmins stock - by WagnerPM - 18.06.2012, 20:29
Re: SendMessageToAdmins stock - by iGetty - 18.06.2012, 20:30
Re: SendMessageToAdmins stock - by vIBIENNYx - 18.06.2012, 20:43
Re: SendMessageToAdmins stock - by FUNExtreme - 18.06.2012, 21:06
Re: SendMessageToAdmins stock - by vIBIENNYx - 18.06.2012, 21:19
Re: SendMessageToAdmins stock - by vIBIENNYx - 18.06.2012, 21:21
Re: SendMessageToAdmins stock - by iGetty - 18.06.2012, 21:40

Forum Jump:


Users browsing this thread: 1 Guest(s)